Jump to content

Custom Background CSS; how to apply to the entire section?

Recommended Posts

Dear squarespace community, 

I want to apply a gradient background to sections of my website. I have found the section ID, however when I apply the code below, only the background behind the text and image gets changed. How do I apply this so that also the background colour of the text block and image block (in the same section) gets changed as well?

Many thanks in advance, 

Elisewebsite.thumb.JPG.1af79f6ff177ad2c064318c72eb0773e.JPG

 

section[data-section-id="5ff6c2d496cfdf7798e4e975"]{
background: -webkit-linear-gradient( left, #F2C5E0, #EC8FD0);
}

 

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

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.