Modern_B
-
Posts
14 -
Joined
-
Last visited
Reputation Activity
-
Modern_B got a reaction from Voila in Newsletter block placeholder text
Got it to work using this code in the end, thanks for all your help.
<script>
if (document.querySelector("#block-e0d1501cb525ac50b3a0")) {
document.querySelector('.newsletter-form-field-element[name="email"]').placeholder='Email';
}
</script>
-
Modern_B got a reaction from Ruth in Newsletter block placeholder text
Hmm this doesn't seem to work for me. I double checked the block ID, any other ideas I could try?
-
Modern_B got a reaction from therealmiguel in Newsletter block placeholder text
Got it to work using this code in the end, thanks for all your help.
<script>
if (document.querySelector("#block-e0d1501cb525ac50b3a0")) {
document.querySelector('.newsletter-form-field-element[name="email"]').placeholder='Email';
}
</script>