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 post
  • Answers 11
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

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> $(docum

You can use jQuery to change email address text. It needs Business Plan. Which plan do you use?

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

11 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>

 

You can send your question to my email to get detail answer. / How to Setup Password & Share URL 

-- Pour your heart into it

Link to post
  • 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 post
  • 0

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>

Link to post
  • 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 post

Create an account or sign in to comment

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


Ă—
Ă—
  • Create New...