Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #481057

    I’m using MailChimp for WordPress Pro and have multiple forms.

    I’d like to use the fancy coding that you describe in your blog:

    MailChimp Integration
    February 13, 2015/in Miscellaneous, Tutorials /by josue/Last Updated: April 29, 2015
    http://kriesi.at/documentation/enfold/mailchimp-integration/

    Is there a way I can use your instructions for one form and not effecting the others?

    #481737

    Hey Jagrav!

    You could add the CSS code to the Form you want to affect, enclosed in <style></style> tags:

    .mc4wp-form form{margin:0!important;clear:both}
    .mc4wp-form p br{display:none}
    .mc4wp-form label{display:block;visibility:visible;position:relative;margin-bottom:7px;font-weight:600}
    .mc4wp-form p{position:relative;clear:both;float:left;width:100%}
    .mc4wp-form p.hidden{position:absolute;width:0;left:0;top:0}
    .mc4wp-form .form_element_half{width:49.5%;float:left;margin-left:1%;clear:none}
    .mc4wp-form .form_element_third{width:32.6%;float:left;margin-left:1%;clear:none}
    .mc4wp-form .form_element_two_third{width:66.4%;float:left;margin-left:1%;clear:none}
    .mc4wp-form .form_element_fourth{width:24.2%;float:left;margin-left:1%;clear:none}
    .mc4wp-form .form_element_three_fourth{width:74.8%;float:left;margin-left:1%;clear:none}
    .mc4wp-form .first_form{clear:both;margin-left:0}
    @media only screen and (max-width: 479px) { .responsive .mc4wp-form .form_element{width:100%;clear:both;margin-right:0;margin-left:0;float:none} }
    #top .mc4wp-form input[type='text'],#top .mc4wp-form input[type='email'],#top .mc4wp-form select,#top .mc4wp-form textarea{width:100%;margin-bottom:0;display:inline;min-width:50px;padding:13px;border-radius:2px}
    #top .mc4wp-form select{-webkit-appearance:none;border-radius:0;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAANCAYAAAC+ct6XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh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Z3FUCANxAeAWA6IOYG4iR5BjWwpCDQCcSnNgxoIVJCDFwnwA/FHWlp8EIpHSKoGgiggLkITewrEcbQO6mVAbAbE+VD+a3IsJTc7FQAxDxD7AbEzEF+jR1DDywtoCr9DbhwzDlRZDRBgACYqHJO9bkklAAAAAElFTkSuQmCC);background-position:center right;background-repeat:no-repeat;border-radius:2px}
    .mc4wp-form .button{margin:0;padding:16px 20px;border-radius:2px;border-bottom-width:1px;border-bottom-style:solid;font-weight:400;font-size:12px;min-width:142px;outline:none}
    .mc4wp-form .modified_width .button{width:100%;padding:13px 10px 14px;min-width:0}
    .mc4wp-form p input,.mc4wp-form p textarea,.mc4wp-form p select{-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;transition:all .3s ease-in-out}

    Regards,
    Josue

    #482474

    Thanks for you help Josue.

    MailChimp confirmation text not lining up.

    I got good results using the “MailChimp Integration” article.

    Now that I’ve tested it, I notice that the confirmation text “Thank you, your sign up request was successful! Please check your email inbox to confirm.” is not lining up correctly.

    Can you help me to align it to the left?

    #482830

    Hey!

    Seems like you have removed it from your site for the time being? :)

    Regards,
    Yigit

    #484237

    You can view the MailChimp form now, it’s on the bottom of the page.

    #484256

    Hey!

    Try adding this code to the Quick CSS:

    .mc4wp-response {
        clear: both;
    }

    Cheers! 
    Josue

    #484661

    Thank you so much for all your help. It makes life easier :)

    Screenshot:

    Successful Confirmation Message

    MailChimp for WordPress Form:

    <!-- Homepage form -->
    <div class="av-form-labels-visible">
    <p class="first_form form_element form_element_third">
    <label>First Name:</label>
    <input type="text" name="FNAME" placeholder="Your first name" required />
    </p>
    <p class="form_element form_element_third">
    <label>Email address:</label>
    <input type="email" name="EMAIL" placeholder="Your email address" required />
    </p>
    <p class="form_element form_element_third modified_width">
    <input type="submit" value="Sign up" class="button" />
    </p>
    </div>

    Quick CSS:

    /*  ** Start Newsletter Subscribe **  */
    
    /* * Start Homepage form * */
    
    /* MailChimp Form styles */
    .mc4wp-form form{margin:0!important;clear:both}
    .mc4wp-form p br{display:none}
    .mc4wp-form label{display:block;visibility:visible;position:relative;margin-bottom:7px;font-weight:600}
    .mc4wp-form p{position:relative;clear:both;float:left;width:100%}
    .mc4wp-form p.hidden{position:absolute;width:0;left:0;top:0}
    .mc4wp-form .form_element_half{width:49.5%;float:left;margin-left:1%;clear:none}
    .mc4wp-form .form_element_third{width:32.6%;float:left;margin-left:1%;clear:none}
    .mc4wp-form .form_element_two_third{width:66.4%;float:left;margin-left:1%;clear:none}
    .mc4wp-form .form_element_fourth{width:24.2%;float:left;margin-left:1%;clear:none}
    .mc4wp-form .form_element_three_fourth{width:74.8%;float:left;margin-left:1%;clear:none}
    .mc4wp-form .first_form{clear:both;margin-left:0}
    @media only screen and (max-width: 479px) { .responsive .mc4wp-form .form_element{width:100%;clear:both;margin-right:0;margin-left:0;float:none} }
    #top .mc4wp-form input[type='text'],#top .mc4wp-form input[type='email'],#top .mc4wp-form select,#top .mc4wp-form textarea{width:100%;margin-bottom:0;display:inline;min-width:50px;padding:13px;border-radius:2px}
    #top .mc4wp-form select{-webkit-appearance:none;border-radius:0;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAANCAYAAAC+ct6XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjBBRUQ1QTQ1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjBBRUQ1QTU1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpGMEFFRDVBMjVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGMEFFRDVBMzVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pk5mU4QAAACUSURBVHjaYmRgYJD6////MwY6AyaGAQIspCieM2cOjKkIxCFA3A0TSElJoZ3FUCANxAeAWA6IOYG4iR5BjWwpCDQCcSnNgxoIVJCDFwnwA/FHWlp8EIpHSKoGgiggLkITewrEcbQO6mVAbAbE+VD+a3IsJTc7FQAxDxD7AbEzEF+jR1DDywtoCr9DbhwzDlRZDRBgACYqHJO9bkklAAAAAElFTkSuQmCC);background-position:center right;background-repeat:no-repeat;border-radius:2px}
    .mc4wp-form .button{margin:0;padding:16px 20px;border-radius:2px;border-bottom-width:1px;border-bottom-style:solid;font-weight:400;font-size:12px;min-width:142px;outline:none}
    .mc4wp-form .modified_width .button{width:100%;padding:13px 10px 14px;min-width:0}
    .mc4wp-form p input,.mc4wp-form p textarea,.mc4wp-form p select{-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;transition:all .3s ease-in-out}
    
    /* av-sub-box */
    .av-sub-box {
        padding: 20px;
        background: #F4F4F4;
        width: 100%;
        clear: both;
        float: left;
        margin-top: 10px;
        border: 1px solid #e1e1e1;
        margin-bottom: 10px;
        border-radius: 3px;
    }
    
    /* corrects confirmation alignment */
    .mc4wp-response {
        clear: both;
    }
    
    /* * End Homepage form * */
    #484680

    You are welcome, glad to help :)

    Regards,
    Josue

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.