Jump to content

Would like all header text, title and icons to change to black when hovering on the adaptive header background.

Go to solution Solved by nick_sh,

Recommended Posts

I would like my header to function like rh.com when it comes to hovering on the header and having the text and background change color.

I have figured out most of the changes,  but I can not find how to change the color of all the text, site title and icons when I hover.

When you start out the text is white with adaptive header, when I hover on header the background changes white, but I can not figure out how to change the color, to black so it is visible, on all the nav text, site title and icons when I hover anywhere on the header. 

Can anyone help? Please :)

Link to comment
  • Replies 2
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Solution

you can try adding to Custom CSS

#header:hover a,
#header:hover img,
#header:hover svg {
filter: invert(1);
}

It assumes items are black → they will invert to white.  Not sure if it covers all elements though. 

 

Try new Squrespace ID & class finder Chrome Extension

✔ Supports Fluid Engine   ✔ Generate Media Queries code   ✔ Toggle IDs with Option / Alt 

____

Hire me for SquareSpace development

 

Link to comment

Whoa! Super cool ur the bomb! thank you! it works perfect.

The only thing that didn't change is that, I made it so when the screen is small instead of stacking the nav it turns into a hamburger. the hamburger did not change color and blends in do you know how to change that too?

Link to comment

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.