Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Align Centering The Encrypted Download Button Universally

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Align Centering The Encrypted Download Button Universally

Tagged: Centering Custom Add to Cart Button, Centering Download Button

  • This topic has 21 replies, 5 voices, and was last updated 12 years ago by Prateek.
Viewing 15 posts - 1 through 15 (of 22 total)
1 2 →
  • Author
    Posts
  • November 19, 2012 at 2:26 am #7947
    RodeThisBeatDotCom
    Member

    When The “Add To Cart” Button Shortcode Is Place In Centering Html It Works Flawlessly But The “Download” Button Shortcode, Left Aligns Even In Centering Html Code. Where & How Can I Edit It To Be Centered At All Times???

    November 19, 2012 at 3:16 am #51542
    Peter
    Member

    Please post the link to the page containing the button you are referring to.

    November 19, 2012 at 4:08 am #51543
    RodeThisBeatDotCom
    Member

    [http://www.rodethisbeat.com/?p=1427]

    November 20, 2012 at 2:12 am #51544
    admin
    Keymaster

    If you look at the HTML you will see that the download button is not inside the paragraph that is aligned center. That paragraph tag ends after the “$FR.EE” string. Add another paragraph with “align=center” property for the download now button.

    November 20, 2012 at 9:29 pm #51545
    RodeThisBeatDotCom
    Member

    Actually It Is In The Paragraph Align Center. There Isn’t A Formula Or Function I Can Edit Within The Plugin 2 Get It Straight?

    November 20, 2012 at 10:40 pm #51546
    Peter
    Member

    The following post should be helpful:

    https://support.tipsandtricks-hq.com/forums/topic/center-simply-add-to-cart-button

    Alternatively, Try adding the following code to your wp_eStore_custom_style.css file:

    .download_now_button {
    text-align:center;
    }

    (I just tried the above in firebug and it works)

    November 21, 2012 at 1:40 am #51547
    RodeThisBeatDotCom
    Member

    Yep, That Did It!!! Thanks Y’all!!!

    April 24, 2013 at 12:23 am #51548
    Prateek
    Member

    I have a similar problem with the following shortcode…. it left alligns instead of center alligning as it should

    pls advise

    [wp_eStore_buy_now_for_specific_gateway id=”3″ gateway=”tpsl”]

    April 24, 2013 at 12:55 am #51549
    Peter
    Member

    Please provide a link to your page so we can take a look with firebug – we usually ask for this because each individual site has different behaviours due to the theme and other plugins.

    April 24, 2013 at 1:36 am #51550
    Prateek
    Member

    here’s the link >> [http://www.carbiz.in/awesome-deals/emergency-roadside-assistance]

    thanx

    April 24, 2013 at 4:52 am #51551
    Peter
    Member

    By inserting the following CSS code into the wp_eStore_custom_style.css file your button should align itself to the center:

    .wppg-eStore-buy-button-submit{
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    }

    April 24, 2013 at 5:39 am #51552
    Prateek
    Member

    Thank you Peter… the button has moved to the centre… but the custom field is still left aligned

    Can you help with that as well…

    thank you in advance

    April 24, 2013 at 1:00 pm #51553
    Peter
    Member

    Ok, try the following:

    .eStore_text_input, .wppg-eStore-buy-button-submit {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    }

    April 24, 2013 at 1:09 pm #51554
    Prateek
    Member

    Hi Peter… didnt quite work …. take a look… now the input box is centered but the preceding text is not….

    Rgds

    April 25, 2013 at 12:03 am #51555
    admin
    Keymaster

    Use the following CSS to center the whole form:

    .wppg-eStore-buy-button-form{
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width:400px;
    }

    Alternatively, use the shortcode like the following (go to the “Text/HTML” view of the WordPress page editor to enter the code below):

    <div style="text-align:center;">
    [wp_eStore_buy_now_for_specific_gateway ....]
    </div>

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 22 total)
1 2 →
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ