Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Newsletter block placeholder text


Modern_B

Question

Site URL: https://jellyfish-kumquat-hdzl.squarespace.com/

Hello, I'd like to edit the placeholder text in my newsletter block email field to read "Email" instead of "Email Address". I've been able to edit the styling of this text but have had no luck changing the words themselves. There doesn't appear to be an option built into the newsletter block editor to change this like you can for the 'Submit' button.

Any help would be greatly appreciated 🙂

URL: https://jellyfish-kumquat-hdzl.squarespace.com/
Password: TEMPB1803

Link to comment

13 answers to this question

Recommended Posts

  • 0
On 4/30/2020 at 10:34 AM, Modern_B said:

Currently on trial version, but will move to business plan in a couple of days for launch 🙂

Add to Home > Settings > Advanced > code Injection > Footer

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$("div#block-e0d1501cb525ac50b3a0 .newsletter-block .newsletter-form-field-element").attr('placeholder','Email');
});
</script>

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 0
On 5/3/2020 at 2:18 AM, tuanphan said:

Add to Home > Settings > Advanced > code Injection > Footer


<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$("div#block-e0d1501cb525ac50b3a0 .newsletter-block .newsletter-form-field-element").attr('placeholder','Email');
});
</script>

 

Hmm this doesn't seem to work for me. I double checked the block ID, any other ideas I could try?

Link to comment
  • 0
On 5/7/2020 at 6:03 AM, Modern_B said:

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>


🙂

 

Edited by Ruth
I worked it out.
Link to comment
  • 0
2 hours ago, Nodus said:

Hello i have the same problem but none of the above codes work for me... Is there any CSS code that does the same thing?

Can you share link to page where you use newsletter? We can check easier.

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 0
14 hours ago, Hecho said:

Hi i would also like to do this but the code isn't working for me

Can you share link to page where you use newsletter? We can help easier

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...