Sitesao Support
  • Home
  • Themes
  • Plugins
  • Support

Support Forums

Home/Forums/Theme & Template/Loja – WordPress Theme/Mailchimp Horizontal styling

Mailchimp Horizontal styling

This topic is: not resolved
  • August 30, 2016 at 2:34 am #19559

    sweetsorella
    Participant

    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>
    <!-- Text Input Field -->
    <input type="email" placeholder="Your Email" name="EMAIL" class="required email" id="mce-EMAIL">
    <!-- /Text Input Field -->
    <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
    <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 -->
    </form>
    <!--End mc_embed_signup-->

    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

    Attachments:
    You must be logged in to view attached files.

    Sorry, this forum is for verified users only. Please Login or Register to continue

Log In
Register Lost Password

Forums

  • Theme & Template
  • Plugin & Extension

Our Themes

Our Plugins

Tags

acf ajax Bug conditional logic css demo DHVC DHVC Form email Error footer form gallery Header Image Images layout login luxury mailchimp Menu mobile newsletter Newsri not working page plugin product product page recaptcha shortcode Sidebar Single Product Page spam Submit Submit button template translate Translation update Visual Composer woocommerce Woo Detail Product Page Builder woow WPML
© Copyright Sitesao.com - Support Policy