Gregory111z Posted February 7, 2020 Share Posted February 7, 2020 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 Link to comment
paul2009 Posted February 7, 2020 Share Posted February 7, 2020 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: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
Gregory111z Posted February 7, 2020 Author Share Posted February 7, 2020 Hey Paul, here is the page in question. I apologize for not providing it earlier. Link to comment
paul2009 Posted February 7, 2020 Share Posted February 7, 2020 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: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
Gregory111z Posted February 7, 2020 Author Share Posted February 7, 2020 This worked! Thank you very much!!! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.