Jump to content

Change color palette of entire page

Recommended Posts

Site URL: https://www.teamledgernz.com/pine-ave

Hi team, does anyone know of an easy way to change the color palette for an entire page with code injection/CSS?

There are 5 colours in a palette in Squarespace, I'd love to be able to change those on a per-page basis.

I know how to identify individual elements (such as background) but what I really need is to basically change the colour palette for one page.

It'd be a lot easier to simply say "any instances of #123456 should be #654321" than manually identify every element that needs changing. 

Edited by tailwind
Link to comment
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

22 minutes ago, tailwind said:

Site URL: https://www.teamledgernz.com/pine-ave

Hi team, does anyone know of an easy way to change the color palette for an entire page with code injection/CSS?

There are 5 colours in a palette in Squarespace, I'd love to be able to change those on a per-page basis.

I know how to identify individual elements (such as background) but what I really need is to basically change the colour palette for one page.

It'd be a lot easier to simply say "any instances of #123456 should be #654321" than manually identify every element that needs changing. 

Can you take some screenshots of what you mean?

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
10 minutes ago, bangank36 said:

Can you take some screenshots of what you mean?

Sure, the best way to illustrate it is to simply show how the colors on the site change as you select different preset palettes in the picker. 

It would be possible, but incredibly laborious, to selectively change the colors for each kind of element on the page manually in code. I'd love a way to be able to hijack the color palette itself with code, if that is at all possible. 

The reason I want to do this, is the client is a property developer and they are beginning to add new developments which have separate branding (and associated fonts and colours) but they don't want to create a new site for each development. So I am finding a way to have the development represented in a single page with custom color scheme and fonts. I have the fonts sorted, but the colours are a pain.

Screen Shot 2021-11-24 at 11.03.46 AM.png

Screen Shot 2021-11-24 at 11.04.17 AM.png

Link to comment
8 hours ago, tailwind said:

Sure, the best way to illustrate it is to simply show how the colors on the site change as you select different preset palettes in the picker. 

It would be possible, but incredibly laborious, to selectively change the colors for each kind of element on the page manually in code. I'd love a way to be able to hijack the color palette itself with code, if that is at all possible. 

The reason I want to do this, is the client is a property developer and they are beginning to add new developments which have separate branding (and associated fonts and colours) but they don't want to create a new site for each development. So I am finding a way to have the development represented in a single page with custom color scheme and fonts. I have the fonts sorted, but the colours are a pain.

Hey, try to use other colors theme for the section and change color in certain theme.
image.png.73413bd2775c8fc5a02f8a576e31ecf6.png

SquareRefresh, premium plugins & templates that have an elevated feel.

Plugins: Have your site stand out. 
Templates: Our templates are designed with versatility in mind.
Get Freebies: Sometimes things in life are free. Browser our hand selected free plugins.

Link to comment

Dedicating one theme with a custom palette to use on one page isn't a scalable solution, and it limits the amount of variety available for the page. I've used all themes on the main website so I'd also have to go back through the whole site and remove any instances of whatever theme I decide to change for this page. 

I'm thinking my best approach is to simply limit my colour themes on this page to the monochrome ones (lightest 1, darkest 1) and use code to change the colours of the buttons and the new text-colour feature to change the colours of the fonts as required.

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.