Aurora Posted September 3, 2023 Posted September 3, 2023 (edited) Hi! I've added a newsletter block to my homepage. I'm collecting first name and email address. I would like to only capitalize the first word, but not the second ("First name," not "First Name;" "Email address," not "Email Address"). Does anyone know how to do this? Many thanks! Edited September 4, 2023 by Aurora
tuanphan Posted September 5, 2023 Posted September 5, 2023 Hi, Can you share link to homepage? We can check easier Aurora 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Aurora Posted September 6, 2023 Author Posted September 6, 2023 On 9/5/2023 at 11:29 AM, tuanphan said: Hi, Can you share link to homepage? We can check easier Hi! Thank you for replying! My site isn't live yet. Would it help if I sent a screenshot of the section in question? I'm note not sure what you mean when you say that you can check easier. Many thanks!
tuanphan Posted September 7, 2023 Posted September 7, 2023 20 hours ago, Aurora said: Hi! Thank you for replying! My site isn't live yet. Would it help if I sent a screenshot of the section in question? I'm note not sure what you mean when you say that you can check easier. Many thanks! You can follow this to share url Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Aurora Posted October 3, 2023 Author Posted October 3, 2023 (edited) Hi, I'm still looking for a solution for this. I'd like the first field to say "First name" and the second field "Email address." I'll have a similar newsletter signup on each of my blog posts as well. Is it possible to assign a change that will affect all newsletter signups on my entire website? Website: https://www.kristinkuehn.com Password: 2eRFn7gQ Many thanks! Edited October 3, 2023 by Aurora
Solution tuanphan Posted October 6, 2023 Solution Posted October 6, 2023 On 10/3/2023 at 3:03 PM, Aurora said: Hi, I'm still looking for a solution for this. I'd like the first field to say "First name" and the second field "Email address." I'll have a similar newsletter signup on each of my blog posts as well. Is it possible to assign a change that will affect all newsletter signups on my entire website? Website: https://www.kristinkuehn.com Password: 2eRFn7gQ Many thanks! Add this code to Last Line in Website Tools (under Not Linked) > Code Injection > Footer <script> jQuery(document).ready(function($){ $('input.newsletter-form-field-element[type="text"]').attr('placeholder','First name'); $('input.newsletter-form-field-element[type="email"]').attr('placeholder','Email address'); }) </script> Aurora 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Aurora Posted October 6, 2023 Author Posted October 6, 2023 (edited) 8 hours ago, tuanphan said: Add this code to Last Line in Website Tools (under Not Linked) > Code Injection > Footer <script> jQuery(document).ready(function($){ $('input.newsletter-form-field-element[type="text"]').attr('placeholder','First name'); $('input.newsletter-form-field-element[type="email"]').attr('placeholder','Email address'); }) </script> Thank you! It's working on my blog posts, but not on the homepage. Why I don't know... Edited October 6, 2023 by Aurora
tuanphan Posted October 9, 2023 Posted October 9, 2023 On 10/6/2023 at 3:33 PM, Aurora said: Thank you! It's working on my blog posts, but not on the homepage. Why I don't know... Where did you add the code? Can you take a screenshot Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Njserg Posted October 12, 2023 Posted October 12, 2023 Hi, @tuanphan is it possible to get this working on a contact form for the first name, last name, and phone fields? I've attempted to take the code provided here in this thread and customize it to my needs and it's running without errors (with script injected in the footer), but the placeholders aren't being updated. Website: jermtoostrongfitness.com Someone mentioned on another thread that the form had been rewritten on SS's end and needed react-friendly code. Do you know anything about that? Thanks!
tuanphan Posted October 15, 2023 Posted October 15, 2023 On 10/12/2023 at 7:20 AM, Njserg said: Hi, @tuanphan is it possible to get this working on a contact form for the first name, last name, and phone fields? I've attempted to take the code provided here in this thread and customize it to my needs and it's running without errors (with script injected in the footer), but the placeholders aren't being updated. Website: jermtoostrongfitness.com Someone mentioned on another thread that the form had been rewritten on SS's end and needed react-friendly code. Do you know anything about that? Thanks! Don't remove any code in your current code. Add this to Last Line in Code Injection > Footer <script> jQuery(document).ready(function($){ $('.first-name input').attr('placeholder','First name'); $('.last-name input').attr('placeholder','Email address'); $('.phone input').attr('placeholder','Enter phone'); }) </script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment