Jump to content

Create gradient background in one section

Recommended Posts

Site URL: https://bumblebee-tuba-mxmm.squarespace.com/

I am trying to change the background of the Contact Us/Book a Demo section to a gradient.  I found the section ID and have been playing around adding the below to the overall CSS with no luck.  Obviously, I'm missing something!  Any help would be appreciated!!  I'm new to Squarespace but not CSS.  Thanks in advance!

 

[data-section-id="5ed929b20cfa72666c8da860"] .section-background {
background-image: linear-gradient(to right top, #c028b9, #9a21b0, #731da4, #491998, #001689) !important;}
 

Screenshot 2020-06-17 11.27.49.png

Link to comment
35 minutes ago, EAP said:

Site URL: https://bumblebee-tuba-mxmm.squarespace.com/

I am trying to change the background of the Contact Us/Book a Demo section to a gradient.  I found the section ID and have been playing around adding the below to the overall CSS with no luck.  Obviously, I'm missing something!  Any help would be appreciated!!  I'm new to Squarespace but not CSS.  Thanks in advance!

 

[data-section-id="5ed929b20cfa72666c8da860"] .section-background {
background-image: linear-gradient(to right top, #c028b9, #9a21b0, #731da4, #491998, #001689) !important;}
 

Screenshot 2020-06-17 11.27.49.png

Code seem correctly to me, maybe you should try it in footer:
 

[data-section-id="5ed929b20cfa72666c8da860"] .section-background {
  background-image: -webkit-linear-gradient(bottom left, #c028b9, #9a21b0, #731da4, #491998, #001689) !important;
  background-image: -moz-linear-gradient(bottom left, #c028b9, #9a21b0, #731da4, #491998, #001689) !important;
  background-image: -o-linear-gradient(bottom left, #c028b9, #9a21b0, #731da4, #491998, #001689) !important;
  background-image: linear-gradient(to top right, #c028b9, #9a21b0, #731da4, #491998, #001689) !important;
}

image.thumb.png.9a5bf78879f7bc67b45dc2824ac8cf2d.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

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.