Nomis Posted March 3 Share Posted March 3 Hello, I used the following code to place a disclaimer text under a form block (lightbox). Unfortunately, the text also appears under my contact form. I want the text to appear only under a specific block. How can I achieve this? I've already tried using Block ID but couldn't make it work. I appreciate any assistance you can provide! .form-button-wrapper:after { content: "Enter text here"; display: block; margin-top: 5px; } https://maltemartenmethod.squarespace.com/ maltemartenmethod2024! Link to comment
tuanphan Posted March 5 Share Posted March 5 Which Form are you referring to? We can add Form ID to the code. 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!) Link to comment
Nomis Posted March 5 Author Share Posted March 5 (edited) @tuanphan It concerns the form on this page. You'll find it as a lightbox under the 'join the class now' button. https://www.maltemartenmethod.com/free-mini-class How do I find the form ID or how can it be created? I have another question: Is it possible to turn a word in the text 'Enter text here' (below in the code) into a link? Appreciate any help! .form-button-wrapper:after { content: "Enter text here"; display: block; margin-top: 5px; } Edited March 5 by Nomis Link to comment
tuanphan Posted March 8 Share Posted March 8 #1. Try this new CSS code body#collection-6595797ec3b950376c30d202 .form-button-wrapper:after { content: "By signing up, I agree to receive emails and acknowledge the Privacy Policy."; display: block; text-align: center; margin-top: 20px; } #2. It will require JS code (need a Business Plan or higher) 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!) Link to comment
Nomis Posted March 11 Author Share Posted March 11 @tuanphan I do have a Buisness Plan account. Could you help me with the JS code? Link to comment
Nomis Posted March 11 Author Share Posted March 11 @tuanphan I unfortunately have another issue with the Form Block. I used code that replaces 'required' with an asterisk '*'. Unfortunately, two additional asterisks are displayed below it in the form. How can I remove them? A screenshot for visualization is attached. Link to comment
paul2009 Posted March 11 Share Posted March 11 6 hours ago, Nomis said: I used code that replaces 'required' with an asterisk '*'. Unfortunately, two additional asterisks are displayed below it in the form. Which workaround are you using? You'll find my workaround here: Nomis 1 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
Nomis Posted March 13 Author Share Posted March 13 On 3/8/2024 at 9:16 AM, tuanphan said: #1. Try this new CSS code body#collection-6595797ec3b950376c30d202 .form-button-wrapper:after { content: "By signing up, I agree to receive emails and acknowledge the Privacy Policy."; display: block; text-align: center; margin-top: 20px; } #2. It will require JS code (need a Business Plan or higher) @tuanphan can you help me with the JavaScript code for the link in the form block text (as described above)? That would be great! 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