Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › WP eStore – Center add to cart button › Reply To: WP eStore – Center add to cart button
July 2, 2013 at 12:40 am
#56410
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>