Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Email form alignment problem (http://forum.bytesforall.com/showthread.php?t=22993)

squinx Jan 6, 2015 10:23 AM

Email form alignment problem
 
Hi there,

My client is using mynewsletterbulder (don't even get me started) and I can add the email form to my sidebar without issue, but if I add it to a page there is a big gap at the top. I have used firebug and cannot find where the issue is coming from (padding + margin is 0; I can use a negative but that doesn't seem right) it appears that it is wrapped in another table, perhaps? Tried a fresh page to see if there was a corruption somewhere, no dice.

http://madisoncountyarts.com/tempsite/subscribe/

I have tried live html editors, no problem there; other themes have their own issues so I am trying to find out what I can edit here. Seems like an inheritance that I am missing. Thanks for any help!

juggledad Jan 6, 2015 12:36 PM

What ever that tool is. it creates messed up code.

your issue is there are a bunch of hidden fields at the start of the form, each one followed with a '<br>'.
The '<br>' is adding the extra space. To get rid of it you will need to add
HTML Code:

form br {display: none;}
form p br {display: block;}

The second CSS Selector/rule will display the <br> after teh visible elements.

There is also a <style...> that is a form I've never seen before and I think is being ignored, but may cause problems at some time
HTML Code:

<style="width: 250px; padding: 10px; font-size: 11px; color: #3F3F3F; font-family:Arial, Helvetica, sans-serif; background-color: #FFFFFF; border:solid 2px #CCCCCC; -moz-border-radius-bottomleft:.7em; -moz-border-radius-bottomright:.7em; -moz-border-radius-topleft:.7em; -moz-border-radius-topright:.7em;">


All times are GMT -6. The time now is 12:12 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.