JohnP26 Posted August 6, 2019 Posted August 6, 2019 I am attempting to add a Terms and Conditions section to a Form Block, but rather than place all of the text on the page, which pushes everything else down and makes the page look bad - I would rather have the text scroll within the box. Similar to the attached example from another website. I believe I would need custom code. Has anyone done this before on their site?
paul2009 Posted August 6, 2019 Posted August 6, 2019 Can you direct us to the form on your site with the lengthy terms? 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.
JohnP26 Posted August 6, 2019 Author Posted August 6, 2019 Sure here is one of the registration pages: https://www.trailpassoverland.com/showcase-vehicle-registration
JohnP26 Posted August 6, 2019 Author Posted August 6, 2019 Sure here is one of the registration pages: https://www.trailpassoverland.com/showcase-vehicle-registration
paul2009 Posted August 6, 2019 Posted August 6, 2019 As you've added the terms to the description of a checkbox field with the ID checkbox-yui_3_17_2_1_1564155602604_190745 you can restyle the terms with the following CSS (add to Design > Custom CSS): #checkbox-yui_3_17_2_1_1564155602604_190745 .description { border: 1px solid #ccc; height: 100px; overflow: hidden; overflow-y: scroll; padding: 4px; } #checkbox-yui_3_17_2_1_1564155602604_190745 .description::-webkit-scrollbar { -webkit-appearance: none; width: 7px; } #checkbox-yui_3_17_2_1_1564155602604_190745 .description::-webkit-scrollbar-thumb { border-radius: 4px; background-color: rgba(0,0,0,.5); -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5); } Let me know how you get on. -Paul Squarespace Expert & Professional Developer Contributors to this forum voluntarily give their time to help you. If we correctly answer your question, please accept the answer by clicking Accept below it (you'll see it when you're logged on). If an answer doesn't help, feel free to ask for more help or wait for other forum users to add their comments and/or answers. Whenever an accepted answer helps you, please vote it up using the up arrow on the right. This helps other forum users by giving them confidence in an answer. 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.
JohnP26 Posted August 6, 2019 Author Posted August 6, 2019 Thank you that worked! Now will I be able to do the same for the additional forms on the website? How do I find the checkbox field with the ID i.e. #checkbox-yui317211564155602604190745
JohnP26 Posted August 6, 2019 Author Posted August 6, 2019 Thank you that worked! Now will I be able to do the same for the additional forms on the website? How do I find the checkbox field with the ID i.e. #checkbox-yui317211564155602604190745
paul2009 Posted August 7, 2019 Posted August 7, 2019 See my guide about finding IDs: https://sf.digital/squarespace/adding-css-how-to-find-id-and-class-selectors-on-squarespace 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.
JohnP26 Posted August 7, 2019 Author Posted August 7, 2019 Thank you! I was able to figure it out and applied it to all of my forms on the site.
JohnP26 Posted August 7, 2019 Author Posted August 7, 2019 Thank you! I was able to figure it out and applied it to all of my forms on the site.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.