scott_morris Posted January 21 Posted January 21 (edited) Hi all, A client would like to have a background image that bleeds into the header space. The way it is currently set up, the logo and menu are hard to read against that background. See below: I'd like to push the logo and menu downward so that they float in the empty grey space below all that patterning. I've tried to use both of the following CSS code to accomplish this: div.header-announcement-bar-wrapper { padding-top: 350px !important; } .header-announcement-bar-wrapper { padding-top: 350px !important; } Both of these do push down the logo and menu, but they also change/enlarge the size of background at the same time. See below: This of course, doesn't really solve the problem. I'd like to keep the background sized the same, but simply lower the Logo and header. Any suggestions? The url for the website is: https://fife-crocodile-dfg8.squarespace.com/ Thanks so much in advance! Edited January 21 by scott_morris Adding url to website.
sorca_marian Posted January 21 Posted January 21 What do you think about inverting the colors with CSS? In case you want this, add the below code in Custom CSS. #header:not(.light) { filter : invert(); } #sections > :first-child .section-background .section-background-overlay { opacity : 1!important; background : rgba(0, 0, 0, .5) } 👨🔧👨💻 Squarespace plugins 🙋♂️ Squarespace Custom Web Development & Design Services 📅 Todoist alternative | Increase your Productivity 📹 Squarespace Tutorials for free - YouTube📹 💯🚀 I have worked on over 300 Squarespace sites with custom code for over 9 years 🙋♂️ Let's connect on LinkedIn
scott_morris Posted January 21 Author Posted January 21 That's an interesting suggestion. I'll run it by the client. I suspect that she'll want something that clearly and accurately represents the sculpture, so it may not be a workable solution... sorca_marian 1
sorca_marian Posted January 21 Posted January 21 In case she want something else reply to this post 👨🔧👨💻 Squarespace plugins 🙋♂️ Squarespace Custom Web Development & Design Services 📅 Todoist alternative | Increase your Productivity 📹 Squarespace Tutorials for free - YouTube📹 💯🚀 I have worked on over 300 Squarespace sites with custom code for over 9 years 🙋♂️ Let's connect on LinkedIn
Solution scott_morris Posted January 21 Author Solution Posted January 21 (edited) @sorca_marianA solution popped in my head and it seems to work. I needed to upload a background image that was slightly more zoomed out than the original and then let the above code I mentioned earlier do the "cropping" for me. The only thing I'd like tweak at this point is to reduce the amount of space in the block just below the header. Any ideas on that? Edited January 21 by scott_morris
sorca_marian Posted January 21 Posted January 21 Great. You can reduce the space with the below code #sections > :nth-child(2) .content-wrapper { padding-top : 0!important } 👨🔧👨💻 Squarespace plugins 🙋♂️ Squarespace Custom Web Development & Design Services 📅 Todoist alternative | Increase your Productivity 📹 Squarespace Tutorials for free - YouTube📹 💯🚀 I have worked on over 300 Squarespace sites with custom code for over 9 years 🙋♂️ Let's connect on LinkedIn
scott_morris Posted January 21 Author Posted January 21 Or this, correct? [data-section-id="abcxyz"] { min-height: unset !important; height: 50px !important; }
sorca_marian Posted January 22 Posted January 22 Yes, similar to your code #sections > :nth-child(2) { min-height: unset; } 👨🔧👨💻 Squarespace plugins 🙋♂️ Squarespace Custom Web Development & Design Services 📅 Todoist alternative | Increase your Productivity 📹 Squarespace Tutorials for free - YouTube📹 💯🚀 I have worked on over 300 Squarespace sites with custom code for over 9 years 🙋♂️ Let's connect on LinkedIn
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment