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

WP eStore – Center add to cart button

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › WP eStore – Center add to cart button

Tagged: add to cart, center, center button, css

  • This topic has 4 replies, 5 voices, and was last updated 11 years, 3 months ago by admin.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • July 1, 2013 at 3:23 pm #9285
    davob
    Member

    Try as i might i cannot centre this simple “add to cart button.

    This is what i have on my wordpress page:

    <p style=”text-align: center;”>[wp_eStore_add_to_cart id=1]</p>

    how/where do i make the necessary tweaks?

    July 2, 2013 at 12:40 am #56410
    wpCommerce
    Moderator

    Hi, can you please provide a link to the page so I can take a look at the Add to Cart button?

    Instead of using paragraph tags use the following to center the button:

    <div style="text-align: center;">[wp_eStore_add_to_cart id=2]</div>

    You can apply the following technique to center any eStore button. Remember to add this while in the “Text” mode of the editor (because this is HTML code):

    <div style="text-align: center;">[shortcode goes here]</div>

    July 28, 2013 at 7:19 am #56411
    mark_bowden
    Member

    Excellent! It works… thanks

    January 25, 2014 at 11:28 pm #56412
    dheiliger
    Member

    I would like to know how to center the button for a squeeze page. This is what I have now:

    gratitude

    [wp_eStore_free_download_squeeze_form id=2]

    Thank You!

    January 26, 2014 at 5:19 am #56413
    admin
    Keymaster

    Here is a link to a helpful post for this:

    https://support.tipsandtricks-hq.com/forums/topic/centering-add-to-cart-fancy-6-button

    Please post a link to the page where you have that shortcode.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • 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