Jump to content

Changing all Navigation Items Color on Scroll

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

  • 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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.