Jump to content

Adding a background color to blocks and sections of website

Recommended Posts

Site URL: https://blockpaperprint.com

Hello everyone!
How can I change the background color for specific parts of my website and blocks? 
For example, on my homepage, I'm listing packages, which I'd like to highlight with blue and black backgrounds. In the case study section, I'd like to have a grey background. 
Your input would be of great value and appreciation! 
I've attached an image mockup for reference, in addition to my website,. 

Thanks again!


Website Mockup Sketch.jpg

Link to comment
  • Replies 1
  • Views 375
  • Created
  • Last Reply

You need to use CSS to do this

With above box in screenshot, Add to Home > Design > Custom CSS

div#block-yui_3_17_2_1_1580839942134_161965 {
    background: grey;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
div#block-yui_3_17_2_1_1580839942134_161965 h2 {
    background: blue;
    text-align: center;


Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment


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.