Jump to content

**Changing background color of one section**

Recommended Posts

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

  • Marcus_SQSP changed the title to **Changing background color of one section**

The way that you currently have this set up, that text is in one block but it is not in a section that we can colour from edge to edge. If you put that text into a new page section in the index and break up the page into the content above and below (you would want to duplicate the page and delete the top half on one , and the bottom half on the other and then put them into the same index). If you do that you can use this Custom CSS:

#page-url {
  background-color:#6D8094;
}

If you leave the setup as it is you can add a colour to the background of the text block like this:

#block-yui_3_17_2_1_1665962746539_100322 {
  background-color:#6D8094;
  padding: 42px 17px;
}

Hope that helps!

Please like and upvote if my comments were useful to you. Thanks!

Zygmunt Spray
Squarespace Website Designer
Contact me: https://squarefortytwo.com/ 
🔌Ghost Squarespace Plugins (Referral link)
Buy me a coffee

Link to comment

Create an account or sign in to comment

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

×
×
  • 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.