Nova Posted February 16 Share Posted February 16 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
Solution nick_sh Posted February 16 Solution Share Posted February 16 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
Nova Posted February 16 Author Share Posted February 16 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment