Jump to content

How to change background color on specific page (Pacific Template)

Recommended Posts

Hi I have the pacific template and am trying to target a specific page and change the background color.

I already have a custom code increasing the max-width of the content on the page as below

 

#collection-5e3c8b724983176cf11b8804
 #page { max-width: 1310px }

 

I want to keep this code and add the background color. Thanks!!!

 

---

 

Edit I was playing with it and this code changes the background color but not full width!

#collection-5e3c8b724983176cf11b8804
 #page { max-width: 1310px; background-color:#34b9ec; }

 

I need the color to go all the way to the edge of the screen

 

 

11.JPG

Link to comment
  • Replies 4
  • Created
  • Last Reply

When you ask a coding question, the community need you to provide some basic information about the site.

What is the website URL? If the site isn't live, what is the site password? Which page does your question refer to?




 

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment

Your code above is correct, but your maximum width is smaller than the browser width. If you increase this, it should be fine. For example:

#collection-5e3c8b724983176cf11b8804 #page {
max-width: 3000px;
background: #34b9ec;
}

 

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

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.