Jump to content

Change color of one navigation link - Cacao Template

Recommended Posts

I'm trying to change the color of one of the items in my navigation bar. I’d like to make it this shade of blue (#0f73ba) while keeping the others grey.

I've been testing this in the CSS editor, but it hasn't been working:

nav.main-nav li:nth-of-type(2) a { color: #0f73ba;}

Link to comment
  • Replies 10
  • Views 2.4k
  • Created
  • Last Reply

@tbliston @tbliston Add to Home > Design > Custom CSS


/* Home */
.Header-nav-inner a:nth-child(1) {
   color: #0f73ba !important;
}
/* Become a tour creator  */
.Header-nav-inner a:nth-child(2) {
   color: #0f73ba !important;
}
/* Download  */
.Header-nav-inner a:nth-child(3) {
   color: #0f73ba !important;
}
/* Campuses  */
.Header-nav-inner span:nth-child(4) a {
   color: #0f73ba !important;
}
/* How it works */
.Header-nav-inner span:nth-child(5) a {
   color: #0f73ba !important;
}
/* About Us*/
.Header-nav-inner span:nth-child(6) a {
   color: #0f73ba !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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.