PatrickWriter Posted December 16, 2020 Share Posted December 16, 2020 Hi, I would like to add text WITHIN a form block. To be more specific: I would like to add the following text (a disclaimer) underneath the button in my form block: "By sending your email, you are also agreeing to subscribe to...." I would like to specifically have the text WITHIN the form block. I tried to add a text block directly underneath the form block but there is too much space in between the button and text. I don't like the visual. Can anybody help me with the CSS coding? Thanks! Beyondspace 1 Link to comment
Beyondspace Posted December 17, 2020 Share Posted December 17, 2020 13 hours ago, PatrickWriter said: Hi, I would like to add text WITHIN a form block. To be more specific: I would like to add the following text (a disclaimer) underneath the button in my form block: "By sending your email, you are also agreeing to subscribe to...." I would like to specifically have the text WITHIN the form block. I tried to add a text block directly underneath the form block but there is too much space in between the button and text. I don't like the visual. Can anybody help me with the CSS coding? Thanks! You can add the text and send us your page url to check the css BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
tuanphan Posted December 21, 2020 Share Posted December 21, 2020 @PatrickWriter Can you share access password? 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
PatrickWriter Posted December 23, 2020 Author Share Posted December 23, 2020 Hi tuanphan, The password is: 1234! I will change the password in a couple of days for safety reasons. Thank you for your help! Link to comment
tuanphan Posted January 7, 2021 Share Posted January 7, 2021 Add this to Home > Design > Custom CSS .form-button-wrapper:after { content: "Enter text here"; display: block; margin-top: 5px; } TeganTallullah and charlesmarks 1 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!) Link to comment
charlesmarks Posted May 23, 2021 Share Posted May 23, 2021 On 1/7/2021 at 3:32 AM, tuanphan said: Add this to Home > Design > Custom CSS .form-button-wrapper:after { content: "Enter text here"; display: block; margin-top: 5px; } Perfect - thank you! Link to comment
TeganTallullah Posted November 5, 2021 Share Posted November 5, 2021 On 1/7/2021 at 3:32 AM, tuanphan said: Add this to Home > Design > Custom CSS .form-button-wrapper:after { content: "Enter text here"; display: block; margin-top: 5px; } Thank you so much - this solved my issue 🙂 Link to comment
nikbongard Posted May 11 Share Posted May 11 This is very helpful, thank you! Is there a way to add multiple paragraphs in the "Enter text here" section? I've tried <p>, <br>, but they just show up as text, not actual HTML. Also, is there a way to add multiple .form-button-wrapper sections to one form, so explanatory text can exist between multiple form fields? Link to comment
creedon Posted May 11 Share Posted May 11 4 hours ago, nikbongard said: Is there a way to add multiple paragraphs in the "Enter text here" section? I've tried <p>, <br>, but they just show up as text, not actual HTML. CSS can not be used to create HTML elements. CSS is only for styling how things look not creating structure. Have you tried using Line fields? You can't do fancy styling but you can have paragraphs. If the Line field won't do then your left with using JavaScript to create the structure needed. I know of no code that currently does this. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. 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