Jump to content

Image Poster Blocks - Text on Hover Custom CSS for mobile

Recommended Posts

Site URL: http://www.renfuller.com

I've put in custom CSS to make the titles on my Poster-Blocks appear on hover.

www.renfuller.com/projects

This code works great, however, on mobile, the text remains fixed and will not appear on hover. Anyone know a workaround?

 

@media only screen and (min-width:640px) { 
.design-layout-poster .image-card-wrapper {
  visibility: hidden;
  opacity: 0;
  transition-duration: .5s;
}

.design-layout-poster:hover .image-card-wrapper {
  visibility: visible;
  opacity: 1;
  background-color: hsla(192, 67%, 0%, 0.4);
}

Screen Shot 2020-09-07 at 10.10.37 PM.png

Link to comment
  • Replies 4
  • Created
  • Last Reply
  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.