Jump to content

Adding background to a page in 7.0, but normal codes not working

Go to solution Solved by tuanphan,

Recommended Posts

Hello everyone!

Thank you so much in advance for anyone who can provide help. I am looking to change the background color of one page of my website, but all the current codes do not seem to work. I'm a coding novice, but not a complete novice, and have done some HTML and CSS before on my sites -- so, I'm pretty adapt usually at finding the right codes from all the wonderful people to help here!

However, I cannot seem to crack this puzzle for a really important page of my site. I am attempting to create a semi-standalone page -- beyond just a cover page -- for a section of my website, and I've already removed the header/navigation and footer through code. Yet, I am unable to change my background of the main part of the website.

Here is the website I am trying to change (it's obviously in its earliest phases): https://www.barrygoldenberg.com/harlemprepbook

Please let me know if you have any suggestions. I'd like to change the entire background. I am using the Pacific template in 7.0.

Thank you so much!

Link to comment
  • Solution

To change Harlemprepbook page background color, you can use this code to Website > Website Tools > Custom CSS.

body#collection-66254ab0f802165d7298e7fc div#siteWrapper {
    background-color: #f1f !important;
}

 

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

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.