Jump to content

Change header from invisible to solid background when scrolling over text only

Recommended Posts

Posted

My website has a header with a clear background. when I scroll down the page the header logo and hamburger menu are showing over the text on my webpage. 

Is there a way of having the header background change from "clear" to "white" when it scrolls over text only?

 

Thanks

Screenshot 2024-01-29 154110.png

  • Replies 3
  • Views 1.6k
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Hey,

Thank you for your response. That seems to work but as soon as I start to scroll, the header then switches to a white background. Is it possible to only switch to a white background header when it passes over a text block? (just so you cant see text passing through text) I otherwise like that the transparent header shows through images, just not text.

 

Thanks.

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.