Jump to content

Changing all Navigation Items Color on Scroll

Go to solution Solved by tuanphan,

Recommended Posts

  • Solution

Add to Design > Custom CSS

header#header.shrink a {
    color: black;
    opacity: 1;
}
header#header.shrink img {
    filter: invert(1);
}
header#header.shrink use {
    fill: black !important;
    stroke: black !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 1/30/2023 at 8:08 AM, SKPhotography said:

@tuanphan works great but it didn't keep the bottom border on scroll, should I just add "border: 1px;" somewhere?

Add this code under

header#header.shrink {
    border-bottom: 2px solid red;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.