Jump to content

Changing Background Color of a Page

Recommended Posts

Site URL: http://shopfili.com/journal

Hello,

I have been trying to change the color of the background of the page linked above but it seems like nothing is working! From the custom css that I got with the collection id to the code that I have to input in the Page Header Code Injection. I am using the York (Flores) template and I do not know if my difficulty has anything to do with this.

 

Please help!

Link to comment
  • Replies 3
  • Views 381
  • Created
  • Last Reply
12 minutes ago, tuanphan said:

Hi. It looks like you solved with this CSS?


.collection-5e6b5d57b33b15147b193f64 #content {
    background-color: #fffdd0 !important;
}

 

Yes I did! Thank you! But if you notice in the bottom, there is a small white part, how do you think I can make it in #fffdd0 instead? Also the banner is in white...

Link to comment
On 4/15/2021 at 8:58 PM, shopfili said:

Yes I did! Thank you! But if you notice in the bottom, there is a small white part, how do you think I can make it in #fffdd0 instead? Also the banner is in white...

Don't remove your code. Add new code

body#collection-5e6b5d57b33b15147b193f64 header#header {
    background: #fffdd0;
    margin-top: 0;
    padding-top: 40px;
}
body#collection-5e6b5d57b33b15147b193f64 footer#footer {
    margin-bottom: 0;
}

 

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.