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.
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
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?
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
Awesome as always!
An unrelated question, how do I remove the flag from the top menu – http://screencast.com/t/JEvRonZJe5N?
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
Thanks!