Jump to content

How to change the menu colors on different pages

Go to solution Solved by tuanphan,

Recommended Posts

16 hours ago, Flinx said:

Hi there,

I would like to change the background-color and text-color of the menu on the different pages. So the menu on the frontpage is beige, the menu on the contact page is blue etc.

Is that possible?

Password: Suikido

Skærmbillede 2022-11-27 kl. 14.39.27.png

We can achieve this style by using the Css code with the right target Page Id.

You can get the page Id via the following extension: Squarespace ID Finder

How to get Page Id: http://recordit.co/qwnj09oNCa

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

You can share your URL site and we can take a look

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
  • Solution
On 11/28/2022 at 5:02 PM, Flinx said:

For sure, thanks a lot! 

 

https://kale-parakeet-5fz8.squarespace.com/

 

Password: Suikido

 

I would like to have dark menu + footer on the dark pages and light menu + footer on the light.

You can add this code to Page Header on each page.

If the site is Personal Plan, you can edit that page > Add a Code Block

<style>
  .header-background-solid {
    background-color: #f1f !important;
}
header#header a:not(.btn) {
    color: black !important;
}
  header#header svg {
    fill: black;
}
</style>

Replace color to what you want.

This code change background color, nav items color, icons color

If you need to change other elements, let me know, we will adjust the code

 

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.