Liza217 Posted October 10, 2023 Share Posted October 10, 2023 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, 2023 Solution Share Posted October 10, 2023 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 ⬇️ JasonLH and Begona 2 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
Liza217 Posted October 10, 2023 Author Share Posted October 10, 2023 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, 2023 Author Share Posted October 10, 2023 It worked brilliantly, thank you Paul!! paul2009 1 Link to comment
Liza217 Posted October 19, 2023 Author Share Posted October 19, 2023 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
paul2009 Posted January 14 Share Posted January 14 On 10/19/2023 at 7:11 AM, Liza217 said: My client contacted me again and asked if we could also translate the word "required" in the form to his preferred language. @Liza217 I didn't see your post until today (I wasn't tagged) but if you still need help with this, I have provided a solution here: Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
rich_photog Posted June 20 Share Posted June 20 Just saying thanks for posting this solution, I've been hunting for it too. 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