Liza217 Posted October 10 Share Posted October 10 Hi all, I need some help to change the text in the form "Sign up for news and updates" to a custom text. I tried searching for css codes but nothing worked. Appreciate it! Link to comment
Solution paul2009 Posted October 10 Solution Share Posted October 10 38 minutes ago, Liza217 said: I need some help to change the text in the form "Sign up for news and updates" to a custom text. This is hacky but should get the job done: /* Modify email field checkbox caption "Sign up for news and updates" */ .form-wrapper .form-item.field.email .option span { font-size: 0 !important; visibility: hidden; } .form-wrapper .form-item.field.email .option span:after { content: "Inscrivez-vous pour recevoir nos actualités"; /* edit as requried */ font-size: 15px !important; visibility: visible; margin-left: -17px; } A better way to do this is to modify the caption with some JavaScript but due to recent form modifications, this is reasonably complex and not ideal for a forum post. Did this help? Please give feedback by clicking an icon below ⬇️ About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
Liza217 Posted October 10 Author Share Posted October 10 Thank you, Paul! Should I paste it in the custom CCS area? I'm completely new at this and trying to figure it out as I go along Link to comment
Liza217 Posted October 10 Author Share Posted October 10 It worked brilliantly, thank you Paul!! paul2009 1 Link to comment
Liza217 Posted October 19 Author Share Posted October 19 Hi Paul, Hope you are well! My client contacted me again and asked if we could also translate the word "required" in the form to his preferred language. Wanted to check if I should use the code above but change the email to title and change the "sign up" part to "required"? Appreciate any tips you could provide , thank you so much! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment