Jump to content

Change Individual Navigation Link Colors 7.1

Recommended Posts

Site URL: https://duck-buffalo-k3d3.squarespace.com

Hello! I am trying to change the two of the links on my navigation menu to red while keeping the others the same color. 

Here is the code I am using for the navigation menu:

//Dropdown Folder Style
.header-nav-folder-content {
   background: #d5d6da !important;
  color: #091e3e !important;
  font-size: 15pt;
  font-family: 'Courier';
   letter-spacing: .5px;

//Dropdown Folder Label

.header-nav-wrapper a {
    background-image: none !important;
  font-family: Arial;
  color: #091e3e !important;
}

 

Appreciate any help!

Link to comment
  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Replace the code you have for dropdown folder label with this. Should work.

.header-nav-folder-item:nth-child(1) a {
  color: red !important;
}

.header-nav-folder-item:nth-child(2) a {
  color: red !important;
}

Change the number depending on the link you want to change.

We have code for adding icons here: https://bamn.digital/blog/add-custom-icons-to-squarespace-navigation

Edited by BamnDigital
Link to comment
59 minutes ago, BamnDigital said:

Replace the code you have for dropdown folder label with this. Should work.

.header-nav-folder-item:nth-child(1) a {
  color: red !important;
}

.header-nav-folder-item:nth-child(2) a {
  color: red !important;
}

Change the number depending on the link you want to change.

We have code for adding icons here: https://bamn.digital/blog/add-custom-icons-to-squarespace-navigation

Thank You!!

Link to comment
  • 5 months later...
On 10/11/2020 at 1:13 AM, andruuuuu said:

im trying to change "home" to be red, but the codes above are not making any changes and its the only code in my custom CSS...any idea why?

im on 7.1

Thanks

Screen Shot 2020-10-10 at 1.13.06 PM.png

Can you share site url? We can check easier.

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
  • 8 months later...
17 hours ago, eleanor said:

Hello! I need help with this too, the code isn't working on the site, the template is Ishimoto 7.1

Help!

Can you share your site url? We can check easier

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.