1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'Web Design' started by doken1313, Aug 9, 2013.

  1. doken1313

    doken1313 Newbie

    Joined:
    Jun 3, 2013
    Messages:
    46
    Likes Received:
    11
    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.
     
  2. Gogol

    Gogol Elite Member

    Joined:
    Sep 10, 2010
    Messages:
    3,062
    Likes Received:
    2,872
    Gender:
    Male
    Code:
    <p style="display:block; width:100px; margin:0 auto">[paiddownloads id="1"]</p>

    You might need to adjust the width value.
     
    Last edited: Aug 9, 2013
  3. marttali

    marttali Junior Member

    Joined:
    Sep 3, 2007
    Messages:
    154
    Likes Received:
    34
    try with firefox (right click -> inspect element), this should tell you which css rule "wins"
     
  4. ltrading

    ltrading Newbie

    Joined:
    May 14, 2013
    Messages:
    37
    Likes Received:
    39
    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.
     
    • Thanks Thanks x 1
  5. 420lounge

    420lounge Power Member

    Joined:
    Feb 15, 2011
    Messages:
    616
    Likes Received:
    125
    get away from .tk they are known to steal domains ....tos is strict
     
    • Thanks Thanks x 1
  6. doken1313

    doken1313 Newbie

    Joined:
    Jun 3, 2013
    Messages:
    46
    Likes Received:
    11
    Didn't work! Why the hell is this so difficult?
     
  7. Ash2012

    Ash2012 Regular Member

    Joined:
    Nov 20, 2012
    Messages:
    343
    Likes Received:
    58
    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.
     
  8. doken1313

    doken1313 Newbie

    Joined:
    Jun 3, 2013
    Messages:
    46
    Likes Received:
    11
    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.
     
  9. Gogol

    Gogol Elite Member

    Joined:
    Sep 10, 2010
    Messages:
    3,062
    Likes Received:
    2,872
    Gender:
    Male
    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.
     
  10. TrevorB

    TrevorB Jr. VIP Jr. VIP Premium Member

    Joined:
    Dec 21, 2011
    Messages:
    1,185
    Likes Received:
    361
    Location:
    Canada
    Add this to the html for the button image

    style="margin:auto;display:block;"
     
  11. Gogol

    Gogol Elite Member

    Joined:
    Sep 10, 2010
    Messages:
    3,062
    Likes Received:
    2,872
    Gender:
    Male
    Wont work without a width..
     
  12. tweakcoder

    tweakcoder Regular Member

    Joined:
    Apr 8, 2012
    Messages:
    238
    Likes Received:
    184
    Occupation:
    PHP Web Developer
    Location:
    India
    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.
     
  13. saxgod

    saxgod Regular Member

    Joined:
    Sep 19, 2010
    Messages:
    351
    Likes Received:
    337
    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
     
  14. doken1313

    doken1313 Newbie

    Joined:
    Jun 3, 2013
    Messages:
    46
    Likes Received:
    11
    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.