Need help with some html code - I've tried everything

doken1313

Registered Member
Joined
Jun 3, 2013
Messages
51
Reaction score
13
Hello me and a friend made an addmefast bot and we are trying to sell it so I've registered a .tk domain last night, installed wordpress, build the website to a level and installed the Paid Downloads Plugins which is fine but my problem is that I can't center the Paid Download's button "buy now".
The button has this form :
Code:
[paiddownloads id="1"]
I have tried everything in the html tab like
Code:
<center> [paiddownloads id="1"] </center>
or
Code:
<p style="text-align: center;">[paiddownloads id="1"]</p>
, but with no result. Sometimes I can see when changing to Visual editor that the container is in the center of my blog post but when I refresh the page it remains at the left side.
Sorry if this sounds noob but I can't fix it myself thats why II am posting here.
 
Code:
<p style="display:block; width:100px; margin:0 auto">[paiddownloads id="1"]</p>


You might need to adjust the width value.
 
Last edited:
try with firefox (right click -> inspect element), this should tell you which css rule "wins"
 
Code:
<p style="display:block; width:100px; margin:0 auto">[paiddownloads id="1"]</p>


You might need to adjust the width value.

Yea that will work. I've had issues with this before, I think its something to do with using a shortcode.
The fix gOgOl's put above worked for me.
 
Code:
<p style="display:block; width:100px; margin:0 auto">[paiddownloads id="1"]</p>


You might need to adjust the width value.

Didn't work! Why the hell is this so difficult?
 
get away from .tk they are known to steal domains ....tos is strict

I second this. Stay the hell away from their shitty scam. The moment you get traffic your site will die to be replaced with their ads. Plus they're shit domains that simply do not rank. Ever.
 
I second this. Stay the hell away from their shitty scam. The moment you get traffic your site will die to be replaced with their ads. Plus they're shit domains that simply do not rank. Ever.
I just need a free domain guys for a few months that's why I got into .tk. I am not going to bring traffic to that page.
 
Provide the out0put here. I mean the html that has been rendered (only the section where your button is), not the shortcode... Or PM me the url where you are having the problem.
Didn't work! Why the hell is this so difficult?
 
Add this to the html for the button image

style="margin:auto;display:block;"
 
The form already have CSS for the button element so that's why it would not overwrite your outer stylings.
Try to make changes in CSS of form.
Or paste it here.
We will solve.
 
Check what HTML gets rendered for that placeholder and get the element id or class
Then get jquery and override the CSS for that ID with jquery on document ready
 
That's the code inside
Code:
[paiddownloads id="1"]

Code:
<div style="overflow: hidden; height: 100%; margin-top: 10px;"> ? </div><form style="display:none;" method="post" action="web address"> ? </form><form style="display:none;" method="post" action="web address"> ? </form><div style="border: 0px; margin: 5px 0px; padding: 0px; height: 100%; overflow: hidden;"> ? </div><p></p><p style="text-align: center;"> ? </p><p style="text-align: center;"> ? </p><p style="text-align: center;"> ? </p><p style="text-align: center;"> ? </p><p style="text-align: center;"> ? </p><p style="text-align: center;"> ? </p><div class="postFooter"> ? </div>

Managed to find with firefox and inspect element. I hope this is what you asked me. Tell me if you also need the hidden values.
 
Back
Top