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

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

Question

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

Edited by Gregory111z
tried code

Share this post


Link to post

4 answers to this question

Recommended Posts

  • 1

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

 


World-class Squarespace Developer and Squarespace Circle Leader with a strong reputation on the Squarespace Forum.
I'm trusted by hundreds of Squarespace users worldwide, including designers, freelancers, business owners and big agencies.

I can tackle anything from small tweaks to full websites and I'm available for short and long bookings (min. 1 hour).
Book via my website giving as much notice as possible. Note that I'm currently booked until the middle of June 2020.
Prebuilt Squarespace Extensions for Squarespace 7.0 and 7.1: Enquiry Form ExtensionDate Picker Extension and Age Verification Extension 
Custom Squarespace Extensions: Tell me about the functionality you need

**NEW** Our popular Wishlist extension is now Squarespace 7.1 compatible.

Share this post


Link to post
  • 0

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?




 


World-class Squarespace Developer and Squarespace Circle Leader with a strong reputation on the Squarespace Forum.
I'm trusted by hundreds of Squarespace users worldwide, including designers, freelancers, business owners and big agencies.

I can tackle anything from small tweaks to full websites and I'm available for short and long bookings (min. 1 hour).
Book via my website giving as much notice as possible. Note that I'm currently booked until the middle of June 2020.
Prebuilt Squarespace Extensions for Squarespace 7.0 and 7.1: Enquiry Form ExtensionDate Picker Extension and Age Verification Extension 
Custom Squarespace Extensions: Tell me about the functionality you need

**NEW** Our popular Wishlist extension is now Squarespace 7.1 compatible.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...