Jump to content

Image Overlay Hover Effect

Recommended Posts

Hi, I don't know anything about code, but I am trying to add an image overlay hover effect to some images on my website. I want the hover overlay to be a color when someone scrolls over it. What kind of code do I need to use to make this happen? 

I tried using this, but it didn't work.

.design-layout-poster:hover .image-overlay { background: blue!important; opacity: .8; transition: 2s } .design-layout-poster .image-overlay { opacity:0; transition: 2s }

Can someone help me out? 

Link to comment
  • Replies 1
  • Views 259
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.