- This topic has 2 replies, 2 voices, and was last updated 12 years, 9 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Centering "Subscribe" button in table
I am trying to center the Subscribe button in a three column table. I have modified the plugin’s eStore_misc_functions.php file on both $output and $var_output lines to false, but does not seem to have any effect. The page is: http://www.itsolutions.a2entreprenuers.com/residential-complete-plans
Thank you in advance for your assistance.
You don’t need to change any PHP code to center a button. Use the following technique
1) Add the following CSS to eStore’s CSS file (You can add this to your theme’s CSS too if you prefer)
#estore-center-content {
width: 300px ;
margin-left: auto ;
margin-right: auto ;
}
2. Now use this in your page like the following:
<div id="estore-center-content">
Place the shortcode for the button here
</div>
Adjust the width in step 1 (make it big or small) to get the desired outcome you want.
Applied the the html code and all is working as I desired. Thanks for your swift reply and assistance