Jump to content

CSS help for colour gradient for a shape

Recommended Posts

Hello,

Most of my CSS is working and when I hit a hurdle, google usually helps me fix it. 

I have inputted a rectangle shapes (for testimonials) and I'd like these shapes to have a gradient background just like I've got in other areas of the site, and like I've done with the Title text of this Testimonial section, however nothing is working. 

Can you please let me know what I'm missing? Here's what I've tried for the left rectangle

#block-e46d08f8c549644763be
{
  background-color: #000000;
  background-image: linear-gradient(to right, #916437, #C19255, #E8C784) !important;
}
#block-e46d08f8c549644763be
{
    background: linear-gradient(to right, #916437, #C19255, #E8C784) !important;
}
#block-e46d08f8c549644763be
{
    background: transparent !important;
}

 

Thanks in advance

Screen Shot 2024-06-27 at 1.11.48 pm.png

Link to comment
  • Replies 5
  • Views 136
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Unfortunately, this has made no difference. Thanks for your time trying though. I believe it may be the site style colour hiding he css code? However it is my understanding that !important should prioritise the css over the generic site styles.

Edited by LibbyLee3
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.