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

    Hi, how can I make the field names show inside the boxes on a mailchimp element the same way I can do in a contact form element – http://screencast.com/t/1X2pmDtYjYr

    Thanks.

    #728646

    Hey DROR,

    Please add following code to Functions.php file in Appearance > Editor

    function av_mailchimp_placeholders(){
    ?>
     <script>
    jQuery(window).load(function(){
    jQuery('.your-custom-class input#avia_0_1').attr('placeholder','Email Address *');
    jQuery('.your-custom-class input#avia_1_1').attr('placeholder','First Name');
    });
     </script>
    <?php
    }
    add_action('wp_footer', 'av_mailchimp_placeholders');

    Then Please enable the custom css class field: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ edit your element and give it a custom CSS class

    Best regards,
    Yigit

    • This reply was modified 7 years, 10 months ago by Yigit.
    #728659

    It worked but it also shows the field title above and inside the field now… how do I remove the titles from above the fields?

    #728665

    Hi,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    .homepage-signup label {
        visibility: hidden;
    }
    

    Best regards,
    Yigit

    #728670

    Awesome as always!

    An unrelated question, how do I remove the flag from the top menu – http://screencast.com/t/JEvRonZJe5N?

    #728675

    Hi,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    #header_meta .avia_wpml_language_switch_extra {
        display: none;
    }
    

    Best regards,
    Yigit

    #728676

    Thanks!

    #728678

    Hi,

    You are welcome! Let us know if you have any other questions! :)

    Best regards,
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘How to make the field names inline on a mailchimp newsletter element?’ is closed to new replies.