Tagged: x
-
AuthorPosts
-
March 4, 2017 at 9:23 pm #1394772
gregrevParticipantHey guys,
I have an email form in a 2 column section but it appears that there is some padding on the right side I can’t remove (see attachment).I am using some custom code to change the size of the fields and to make sure both columns can be seen in mobile mode. Here’s the code:
.x-subscribe-form input[type="submit"] { width: 75%; } .x-subscribe-form input[type="email"] { width: 75%; margin-bottom: 5px; } /* remove email field border */ .x-subscribe-form input[type="email"] { border: none!important; } @media (max-width: 979px) { .x-column { float: left !important; width: 48% !important; margin-right: 4% !important; } .x-column:nth-child(2n) { margin-right: 0px !important; } .x-column.x-1-1 { float: none !important; width: 100% !important; margin: 0 auto !important; } }Thank you for the help.
Greg
March 5, 2017 at 4:30 am #1394935
ThaiModeratorHi There,
Please provide us with your website URL so we can take a closer look.
Thanks.
March 5, 2017 at 8:52 am #1395085
gregrevParticipantSure thing, http://www.azaltitudetraining.com
Cheers
March 5, 2017 at 9:41 am #1395117
ThaiModeratorHi There,
Please add the following CSS:
.home #x-section-3 .x-container.max.width { width: 100%; max-width: 100%; } form#x-subscribe-form-1976 { float: right; width: 100%; }Hope it helps 🙂
March 5, 2017 at 5:17 pm #1395393
gregrevParticipantYou guys are awesome! Thanks a bunch. I actually only used the second part of the script since that did exactly what I wanted.
Thanks again for the quick response, as always.
Greg
March 5, 2017 at 8:26 pm #1395601
NicoModeratorHappy to hear that.
Feel free to ask us again.
Thanks
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1394772 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
