Jump to content

Footer with gradient background

Recommended Posts

Hi,

I'm trying to create a gradient background for my footer. From Hex color FFFAE9 on the top to 6FD3B4 on the bottom.

I've tried this code, but couldn't get it to work.

body.homepage footer#footer-sections {background: rgb(111,211,180);
  background: linear-gradient(to right, 0deg, rgba(111,211,180,1) 0%, rgba(255,250,233,1) 100%);}

any help would be much appreciated! 


 

Link to comment
  • 11 months later...
On 2/24/2023 at 7:14 PM, HWE said:

Hi, I had a gradient in the footer of my site which has now disappeared. I have tried to use the above code but it doesn't seem to work. I am trying to get a gradient in the footer from the bottom to the top, where the bottom is 100% yellow (HEX #F9FF00) and the top transparent.  Any ideas?

https://www.hotwireextensions.com/home

Thanks so much!

Use this code

footer.sections .section-border {
background-image: linear-gradient(to right, red , blue);background-image: linear-gradient(to right, red , blue);
}

image.thumb.png.69e68ea051d962121bb7375d0b73cb8e.png

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

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.