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
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Try this code

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

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.