This topic is: not resolved
-
Ok.. I have tried your mailchimp Visual COmposer module and it does not suit my needs unfortunately.
However, I have found one that works in a code editor but does not in the Loja theme. Even adding !important hasn’t helped it.
Reference code [outputs styled output] from https://codepen.io/blehnert/pen/tfdmI/
HTML:
-<!-- This is the code you will get from Mailchimp’s NAKED Signup Form -->
<form action="//sweetsorella.us12.list-manage.com/subscribe/post?u=3d4cd095cc60526670cf51ea2&id=6cb8769231" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate><!--End mc_embed_signup--><!-- Text Input Field --></form><input type="email" placeholder="Your Email" name="EMAIL" class="required email" id="mce-EMAIL"><!-- /Text Input Field --><input type="text" name="b_3d4cd095cc60526670cf51ea2_6cb8769231" tabindex="-1" value=""><!-- Submit Button --><input type="submit" value="SIGN UP" name="subscribe" id="mc-embedded-subscribe" class="button"><!-- /Submit Button -->CSS
#mc_embed_signup { border: none; text-align: center; width: 100%; } /* Signup form container */ .mc-field-group { display: inline-block !important; } /* positions input field horizontally */ #mce-EMAIL { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 1em; border: 2px solid #ABB0B2 ; color: #343434; background-color: #fff; padding: .7em 9em .7em 1em; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; display: inline-block !important; margin: 0; } /* Input Styles */ .clear { display: inline-block !important; } /* positions button horizontally in line with input */ .button { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 1em; letter-spacing: .03em; color: #fff; background-color: #2386C8 ; padding: .7em 2em; border: 2px solid #2386C8 ; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; display: inline-block !important; margin: 0; } /* Button Styles */ :-webkit-input-placeholder { color: #ABB0B2 ; } /* WebKit browsers */ :-moz-placeholder { color: #ABB0B2 ; } /* Mozilla Firefox 4 to 18 */ ::-moz-placeholder { color: #ABB0B2 ; } /* Mozilla Firefox 19+ */ :-ms-input-placeholder { color: #ABB0B2 ; } /* Internet Explorer 10+ */ @media (max-width: 768px) { /* positions input field and button underneath each other with 100% width for tablet and mobile */ .mc-field-group { display: block; max-width: 100%; } #mce-EMAIL { padding: .7em 0 .7em 1em; width: 96%; margin: 0; } .clear { display: block !important; width: 100% } .button { width: 100%; margin: .5em 0 0 0; } }
Any help to fix this would ge great..
Thanks