Jump to content

Different Colours on Navigation Bar

Recommended Posts

Posted

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.

  • Replies 4
  • Views 1.3k
  • Created
  • Last Reply
Posted
On 5/22/2020 at 11:51 PM, tuanphan said:

Yes. You can with Custom CSS. Need site url to check.

Thanks tuanphan - the URL is www.thetees.online (password - BraveNewWorld2020)

Posted

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!)

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.