Jump to content

How to make hover text fully opaque

Recommended Posts

Posted

I'm using this code to add a hover text overlay on my image poster. How do I make it so that the text is 100% opaque? Right now it is transparent and hard to read. I'm using ver 7.0

Thanks!

 

.design-layout-poster .image-card-wrapper {
  visibility: hidden;
  opacity: 0;
  transition-duration: .5s
}
.design-layout-poster:hover .image-card-wrapper {
  visibility: visible;
  opacity: .8;
  background-color: #FAD22C!important;
}

  • Replies 3
  • Views 440
  • Created
  • Last Reply

Top Posters In This Topic

  • 4 weeks later...

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.