NaomiHt Posted June 17, 2020 Share Posted June 17, 2020 Hi everyone! I use the Brine template, and am trying to figure out how to keep my hero banner and header to the full width of the screen, while keeping the body content constrained. I've tried using the following: body { max-width: 960px; margin: 0 auto; } This does change the content to the width I want it at, but unfortunately also squishes the hero banner into the same size. Is there any way I can achieve the look I want without using spacers on the page? Thank you! Link to comment
Beyondspace Posted June 17, 2020 Share Posted June 17, 2020 Hi NaomiHt, I just made changes for this container to display full-width while keep the body content within a smaller width, I can implement on your site if you have an url to check? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget 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
RyanDejaegher Posted June 17, 2020 Share Posted June 17, 2020 @NaomiHt Brine has settings for full-width: https://support.squarespace.com/hc/en-us/articles/212512738#toc-site-width If you set the banner the background will stretch to be the full width and your text will be constrained Philadelphia, PA 👉 Squarespace Tutorials Chat/Message on FB Messenger for quickest response: https://m.me/dejaegherryan Link to comment
NaomiHt Posted June 18, 2020 Author Share Posted June 18, 2020 Thank you @RyanDejaegher! That works perfectly, however I realise I forgot to mention that I also wanted the header to remain full width along with the banner - I managed to sort that out with this: .tweak-site-width-option-full-background .Header-inner { max-width:100%; margin-left:auto; margin-right:auto; } Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.