Jump to content

How To Change Color Of Folder Link In Header ONLY When You're On That Page With CSS

Go to solution Solved by Web_Solutions,

Recommended Posts

  • Solution
5 hours ago, ec25 said:

Hello,

Wondering how to change the color in folder link that attached to the header, found a CSS, but when you click on another page it's still that color, I want that color only attached to that page, so when you're only active on that said page....

Please and Thanks!

Here's my website

https://www.erinncapko.com/

Also, a example website of what I'm talking about

https://www.millie-amber.co.uk/portfolio

Add these code on Custom CSS panel in Website Utilities Website Tools > Custom CSS.

#collection-64c73d3c893ce4726346956c {
    [href="/surface-designs"], [href="/surface-design"] {
        color: #740563 !important;
    }
}

 

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment
7 hours ago, Web_Solutions said:

Add these code on Custom CSS panel in Website Utilities Website Tools > Custom CSS.

#collection-64c73d3c893ce4726346956c {
    [href="/surface-designs"], [href="/surface-design"] {
        color: #740563 !important;
    }
}

 

Thank you so much! Was looking for this solution forever

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.