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
  • Views 758
  • 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?




 

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

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;
}

 

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

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.