Jump to content
Sign in to follow this  
growthpublications

Button in Text Widget on Primary Sidebar

Recommended Posts

growthpublications

I've have a text widget on the primary side bar. In the text widget I have HTML code for a lead capture form. I can't seem to get the Submit button to center in the widget. All the other text/fields center perfect except for the button. I added a second HTML widget with Feedburner code to subscribe by email. This also has a button that won't center. Any ideas? Should I be modifying the CSS or HTML code in the widget?

Share this post


Link to post
Share on other sites
catrina
Try adding
tags around the "Submit" button code in the HTML for the Lead Capture form. Example: [code]
[/code]

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
growthpublications
@catrina, thanks for your reply. Center didn't work. I ended up with this: [code]
[/code] and... [code]div.center-widget-button { text-align: center; width: 100px; margin-left: auto; margin-right: auto; }[/code]

Share this post


Link to post
Share on other sites
growthpublications
Custom Code worked. Thanks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×