Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
giorgiabbb

Avenue: how to change the hover/active color of my navigation only in one page?

Question

Posted (edited)

Hello, I would like my navigation to have different colors than the other pages only in the About page:

http://www.giorgiabrugnoli.com/about-the-fox

I'd like the hover color to be hsl(11.7, 57%, 73.5%) and the active color to be hsl(38.6, 85.6%, 53.7%). What's the code injection here?

Thank you in advance :)

Edited by giorgiabbb
Initial Revision

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0
Posted (edited)

@giorgiabbb Each Page will have different ID. First, you need to find ID of that page. See how to: https://beaverhero.com/squarespace-how-to/#HowtoFindPageID

Then use CSS (Home > Design > Custom CSS). Add !important to after if it doesn't work.


/* Here is ID of About, so you can use without checking */
/* Hover Color */
   body#collection-556b28f6e4b03db7843679b5 .main-nav a:hover {
       color: hsl(11.7, 57%, 73.5%);
   }
/* Active Color */
   body#collection-556b28f6e4b03db7843679b5 .main-nav .active-link a {
   color: hsl(38.6, 85.6%, 53.7%);
   }





Edited by tuanphan

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...