Jump to content

Change the color of header browser links for different pages

Recommended Posts

57 minutes ago, Alvaro85 said:

Site URL: http://beislander.com

Hello.
Since the browser background is different for each page, I need the text of the menu items to be white on some pages and black on others.

The problem is that I can't find a way to change them separately.

I think we can set its style for the specific page id.

You can use the following extension: Squarespace ID Finder
https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en

Here is how to find page id http://recordit.co/qwnj09oNCa

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

For example the style on home page

#collection-5f9beb9808d24d245c1fa797 .header-nav-item  a {
  color: orange !important;
}

Let me know how it works on your site

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

My testing

image.thumb.png.2a921261c6046c570f3cdbe7066af372.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
1 hour ago, Alvaro85 said:

Site URL: http://beislander.com

Hello.
Since the browser background is different for each page, I need the text of the menu items to be white on some pages and black on others.

The problem is that I can't find a way to change them separately.

For the pages that you need the links to be black, add this code to the page's Page Settings > Advanced area. Let me know how it goes 🙂 

<style>
.header-nav-wrapper a, .country-selector a {
  color:black !important;
}
.header-actions .icon--fill svg {
  fill:black !important;
}
.primary-button-style-outline .black .sqs-button-element--primary {
  color:black;
  border-color:black;
}
.header-nav-folder-item a {
  color:#ffffff !important;
}
</style>

Please give this a 👍 if it helps. Make sure to quote me or tag me in your reply, otherwise I won't be notified.

Link to comment
54 minutes ago, Jia said:

For the pages that you need the links to be black, add this code to the page's Page Settings > Advanced area. Let me know how it goes 🙂 

<style>
.header-nav-wrapper a, .country-selector a {
  color:black !important;
}
.header-actions .icon--fill svg {
  fill:black !important;
}
.primary-button-style-outline .black .sqs-button-element--primary {
  color:black;
  border-color:black;
}
.header-nav-folder-item a {
  color:#ffffff !important;
}
</style>

Thank you very much!!!

it works

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.