Jump to content

Changing nav font color only if there's no background image

Recommended Posts

Site URL: http://www.kindredhomestead.com/blog

My client wants the navigation font color to be white on top of the images she has as the background but some pages are gradient and the white navigation is lost into the background.

I'm looking for some way to either target the font that's on a gradient background or on an image to change the font color.

Here's a link to a page with a background image:


But then a few pages end up like this one:



Any ideas? I don't want to target each individual page to change it because I'm sure she's going to add and remove pages frequently..

Link to comment

Add this code to Page Header (page where you want to change nav color)

  .header-nav * {
    color: black !important;


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.