///short code [wpens_easy_newsletter firstname="no" lastname="no" button_text="SIGN UP"] var input = document.querySelectorAll('.wpens_email'); input.forEach(function(single){ single.setAttribute('placeholder', 'YOUR EMAIL'); }); //for elementor function ti_custom_javascript() { ?> <script> var input = document.querySelectorAll('.wpens_email'); input.forEach(function(single){ single.setAttribute('placeholder', 'Enter your email to subscribe'); }); </script> <?php } add_action('wp_footer', 'ti_custom_javascript');
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter