Jump to content

Different Colours on Navigation Bar

Recommended Posts

Site URL: http://www.thetees.online

Hi,

Not sure if this is possible, but! I'm building a kind of 'news' site for a client (not live yet) using the Mojave template. It splits its coverage into 3 categories; each one with its own 'colour' scheme. Is there are way of, when the user hovers over the relevant menu link in main navigation bar that the 3 that they relate to, can be coloured accordingly but the others are left black?  Any help would be very much appreciated.

Link to comment
  • Replies 4
  • Views 1.1k
  • Created
  • Last Reply

You mean Think, Live, Act? Add to Home > Design > Custom CSS

.Header-nav-item[href="/think"]:hover {
    color: green !important;
}
.Header-nav-item[href="/live"]:hover {
    color: blue !important;
}
.Header-nav-item[href="/act"]:hover {
    color: pink !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.