Jump to content

How to change the navigation button color for only one page

Recommended Posts

  • Replies 13
  • Views 3.8k
  • Created
  • Last Reply
18 hours ago, IanBanker said:

Hi! 
I circled the buttons in this image. 

BooksBranches.PNG

Add to Page Settings > Advanced > Header (Each page has page header)

<style>
  nav#mainNavigation * {
    color: blue !important;
}
</style>

 

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
  • 6 months later...
On 9/3/2020 at 5:47 PM, tuanphan said:

Add to Page Settings > Advanced > Header (Each page has page header)



<style>
  nav#mainNavigation * {
    color: blue !important;
}
</style>

 

why doesn't this work for me? i applied it each of my website page but it only works on one page 

update: it doesn't work on both my pages

Link to comment
  • 2 weeks later...
  • 5 months later...
On 9/10/2021 at 1:41 AM, Alexis-Reid-Design said:

@tuanphanCan you help me with this on this page? https://www.drdjdrosman.com/about (password is drdjdrosman)

I tried the header code injection above but it's not working for me. Wanting the nav links here to be white

Try this code to About Page Header

<style>
  header#header * {
    color: white !important;
}
</style>

 

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.