Jump to content

Change logo/nav colours on portfolio pages only

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://www.idleness.co/recent-work

Hi everyone,

I am looking to only change the nav links + logo colours on my individual portfolio pages. However, using the code below, it changes the nav of the 'recent work' page too, which I want to keep like the rest of the site.

Quote

<style>
header:not(.shrink) .header-nav-wrapper a {
  color: #fff !important;
}
header:not(.shrink) .header-title-logo img {
  filter: brightness(0) invert(1);
}
header:not(.shrink)  .header-nav-folder-content {
    background-color: transparent !important;
}
</style>

Is there a way around this? 

Screenshot 2022-03-29 at 17.24.24.png

Screenshot 2022-03-29 at 17.25.06.png

Screenshot 2022-03-29 at 17.24.36.png

Edited by idlenessco
Updated link
Link to comment
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
13 hours ago, idlenessco said:

Add to Design > Custom CSS

/* Portfolio page */
body.collection-5f8b06bb9ff1730d1156f4bd.view-list {
header#header img {
    filter: brightness(0) invert(0);
}
.header .header-nav-wrapper .header-nav-item a {
    color: 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 4/5/2022 at 10:15 AM, tuanphan said:

Add to Design > Custom CSS

/* Portfolio page */
body.collection-5f8b06bb9ff1730d1156f4bd.view-list {
header#header img {
    filter: brightness(0) invert(0);
}
.header .header-nav-wrapper .header-nav-item a {
    color: black !important;
}
}

 

MAGIC. Thank you so much

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.