Jump to content

Changing background colour on different pages

Recommended Posts

Site URL: https://garlic-rhubarb-z5as.squarespace.com/

Hello,

I'd like to have one particular colour on my homepage and a different one on the others.

I've tried two different ways, none of which are working.

First one was adding to Page Settings > Advanced > Header

<style>
  div#site {
    background: white;
}
</style>

 

And second was adding to Design > Custom CSS

<style>
.collection-type-index #about {
  background-color:#FAFAFA!important;}
</style>

 

I'm really confused why none of those are working.

I just need my home page to be orange and all the other ones to be white.

Can anyone help me out?

 

Link to comment
  • Replies 3
  • Created
  • Last Reply
3 hours ago, iamvandal3 said:

Hey, here's the link: https://garlic-rhubarb-z5as.squarespace.com/config/

Password: balegdah

 

I got those codes from searching for solution on forums...

Add to Home > Design > Custom CSS

.homepage main#page .section-background {
    background: yellow;
}

 

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.