Liza217 Posted October 10, 2023 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!
Solution paul2009 Posted October 10, 2023 Solution 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.
Liza217 Posted October 10, 2023 Author 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
Liza217 Posted October 10, 2023 Author Posted October 10, 2023 It worked brilliantly, thank you Paul!! paul2009 1
Liza217 Posted October 19, 2023 Author 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!
paul2009 Posted January 14 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.
rich_photog Posted June 20 Posted June 20 Just saying thanks for posting this solution, I've been hunting for it too.
lhanchak Posted October 18 Posted October 18 Hi! I've seen some of the responses on this thread and hoping anyone can shed light on an issue with a client site. I haven't had a client this specific with the design layout before. For their subscribe form, they want: 1. The background of the section AND the form fields to reverse on mobile. 2. The fields for just first and last names to stack on mobile instead of side by side. Any css recommendations? Thank you!
Southpaw23 Posted Monday at 10:28 PM Posted Monday at 10:28 PM (edited) My new copy overlaps with the checkbox (update: figured it out!). But... can someone tell me how to format this correctly to it's vertically aligned with the button? thank you. Edited Monday at 10:50 PM by Southpaw23 update
tuanphan Posted Thursday at 10:20 AM Posted Thursday at 10:20 AM On 12/3/2024 at 5:28 AM, Southpaw23 said: My new copy overlaps with the checkbox (update: figured it out!). But... can someone tell me how to format this correctly to it's vertically aligned with the button? thank you. Do you have link to this page? 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