KRemington Posted December 12, 2021 Share Posted December 12, 2021 Site URL: https://www.kremington.com I'm using the blank template and would like to create a colored bounding box around my content, like you see with many other websites. For example, these two seen here: (https://www.mikechenbooks.com/ and https://www.cgpgrey.com/) My website is kremington.com (very underdeveloped at the moment). I'm wondering how I might best set something like this up. I don't need anything fancy like background images or transparency, just a solid single-color bounding box (I'm sure there's a more official name than that). Any help would be greatly appreciated! Link to comment
Beyondspace Posted December 12, 2021 Share Posted December 12, 2021 4 hours ago, KRemington said: Site URL: https://www.kremington.com I'm using the blank template and would like to create a colored bounding box around my content, like you see with many other websites. For example, these two seen here: (https://www.mikechenbooks.com/ and https://www.cgpgrey.com/) My website is kremington.com (very underdeveloped at the moment). I'm wondering how I might best set something like this up. I don't need anything fancy like background images or transparency, just a solid single-color bounding box (I'm sure there's a more official name than that). Any help would be greatly appreciated! Try adding to Home > Design > Custom Css section[data-section-id="6193328782fcf92d7a4532ab"] .content-wrapper .content { background: rgb(197,183,154,0.34); padding: 20px 20px; } Try adding background on you section and apply the above code. Copy this code and change section[...] when you want to apply on another section Hope it can help you KRemington 1 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
KRemington Posted December 12, 2021 Author Share Posted December 12, 2021 That definitely works, thanks! A couple of questions: Is there a way to make it so that this applies to all sections by default, so that it doesn't need to be applied to each section manually? If not, what is the best way to find the section id? (e.g. data-section-id="6193328782fcf92d7a4532ab"). Pardon the ignorance; appreciate the help! Link to comment
tuanphan Posted December 14, 2021 Share Posted December 14, 2021 On 12/13/2021 at 12:11 AM, KRemington said: That definitely works, thanks! A couple of questions: Is there a way to make it so that this applies to all sections by default, so that it doesn't need to be applied to each section manually? If not, what is the best way to find the section id? (e.g. data-section-id="6193328782fcf92d7a4532ab"). Pardon the ignorance; appreciate the help! #1. Change this class name Quote section[data-section-id="6193328782fcf92d7a4532ab"] to this Quote article section #2. Use this tool: https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en KRemington 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
KRemington Posted December 14, 2021 Author Share Posted December 14, 2021 Fantastic, thank you! tuanphan 1 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