EAP Posted June 17, 2020 Share Posted June 17, 2020 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;} Link to comment
Beyondspace Posted June 17, 2020 Share Posted June 17, 2020 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;} 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; } BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
EAP Posted June 17, 2020 Author Share Posted June 17, 2020 Hang on, it's not working. I'm seeing the CSS on the actual page. Did I do it wrong? Link to comment
EAP Posted June 17, 2020 Author Share Posted June 17, 2020 I got it. Forgot to add the style tags! Thank you so much!! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.