Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

change background color on one specific page


Question

Hi everyone,

I tried changing the background color on ONE page, by using the Advanced field in settings for that specific page. ( I use the brine template).
I used this code which i found on a blog and it worked according to the  pictures and guided steps on the blog:

<style>
.Main {
background-color: #f7eee9 !important;
}
</style>

 

however, it still affected some of the other pages. I read somewhere that adding a code there would only affect that page, so im confused as to why it changed the backgrounds on other pages too? Does anyone know how to get different background colors on different pages?

I'm not an experiences coder so bare with me 🙂

thanks!

Screenshot 2021-06-10 at 14.13.44.png

Link to comment
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0

Try this in the advanced tab (replace with your color)

 

<style>
 body {background-color: black;}
 #canvas {background-color: black;}
</style>

 

If it doesn't work - send me the page link and i'll take a look!

Link to comment
  • 0

Hi. Design > Site Styles > Disable Ajax Loading & check again

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Open Page Header - Upload Custom Font - Upload File - Find Block ID, Data Section ID - Contact Squarespace Customer Care - Learn CSS at W3Schools

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
  • 0
On 6/11/2021 at 5:30 AM, LaurelB said:

Try this in the advanced tab (replace with your color)

 


<style>
 body {background-color: black;}
 #canvas {background-color: black;}
</style>

 

If it doesn't work - send me the page link and i'll take a look!

Thank you, so instead of ”black” should i write it as for example #ffffff ? Because the colors i want cant really be described as just red or pink etc

thanks!

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...