Jump to content

Visibility: hidden not working

Go to solution Solved by slimeya,

Recommended Posts

I'm using this code to add a hover text overlay to my image but the image still has a slight gray transparency on top when I don't hover. How do I get it so that the grey is gone and I can see the proper color of my image when there is no hover?

I'm in 7.0

.design-layout-poster .image-card-wrapper {
  visibility: hidden;
  opacity: 0;

}

.design-layout-poster:hover .image-card-wrapper {
  visibility: visible;
  opacity: .8;
  background-color: #FAD22C!important;
}

Edited by slimeya
Link to comment
  • Replies 1
  • Views 238
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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.