Jump to content

Changing main navbar text color per page

Recommended Posts

Posted

Hey hive mind,

I understand that I need to inject a bit of CSS to get this to work, but I'm not sure what the syntax is.  The main page, navbar text is white.  But since the bacvkground of the site is white ... you guessed it, no more visibility on navbar.  I need to change the text color to black on the other relevant pages.  Ideas?

  • Replies 2
  • Views 999
  • Created
  • Last Reply
Posted

Set the default nav text color to black in site styles. Then add this to custom css:

.homepage .Header-nav--primary .Header-nav-item {
    color: #fff !important;
}

 

I'm Colin Irwin aka silvabokis.  I've been a Squarespace designer & developer since 2013. 
You might want to check out my
Squarespace Template Finder or read my Squarespace tips
Speaking of tips, 💲I've got a tip jar. Feel free to throw a few quid into if you think I've helped you. 

If you're looking for a Squarespace developer Book a chat or Drop me a line - first meeting is always free  

 

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.