Thread Starter
doland
(@doland)
Ok, I got a little further as you can see in the page. I used the link template to have a simple button but it’s aligned to the left and it’s small.
It would be great if I can add the code somehow to my green button.,
You can make the download link button larger as I image attached from Downloads > Settings > User interface
https://share.getcloudapp.com/nOukj7ld
And for the details page, you can edit the link-template-default or your used page-template from plugins/download-manger/tpls. you can follow this doc for making the backup for the next up-gradation, https://www.wpdownloadmanager.com/doc/template-files/
Thanks.
Thread Starter
doland
(@doland)
ah didn’t see that. ok great thanks., I got the button to be bigger and it’s now green. Looking good. But I don’t know what you mean in the second paragraph. I went in there but don’t know what to change to make it align center.
When you change something in your template files from plugins/download-manager/tpls/, you can make back-up them in your theme, the doc describes how can you do that. it is safe for next plugin up-gradation.
Thanks.
Thread Starter
doland
(@doland)
Oh ok. But how do I make the button be centered instead of aligned left?
please adjust it with some CSS.
Thanks.
Thread Starter
doland
(@doland)
Does anyone know how to do that? I tried adding code to the button text putting it inside a div:
<div style="margin-right: auto; margin-left: auto;">
<p style="text-align: center;">[wpdm_package id='6542' template="link-template-button"]</p>
</div>
Didn’t work. I tried going into the plugin and editing it but I broke it. WordPress deleted the plugin. I couldn’t even re-install because the folder was already present. So had to go into bluehost and delete the folder.
What do I edit in order to simply center the button??