Jump to content

text overlay on hover in the image block card

Recommended Posts

Site URL: http://www.uti.sandnes.no

Hi!

I am a bit inexperienced with Sqaurespace so all help is appreciated.

I am using the module in "headlines":

347308753_Skjermbilde2020-06-19kl_11_15_06.png.2c1fbcc25a768df7f1faf508183f4a85.png

And I would like a text overlay with hover on the image, for photo crediting.

However, I have only managed to get the hover, no text to work...

This is the code I have used. Can anyone tell me what it is missing to get the "filenaame" to appear on hover?

/* Hover Effect Images */
.sqs-block-image:hover { brightness: 100%; transition: .6s; cursor: pointer;}
.sqs-block-image:hover img { filter: brightness(0.9); transition: .3s;}
.image-filename.sqs-dynamic-text {
  font-size: 15px !important;
  }
.sqs-block-image:not(:hover) 
.image-card-wrapper { display:none;}

Thanx!

 

 

 

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Hi dear your site is not accessible

image.png.d74ff2c0de5ef5cbda39341dd0608e3f.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

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.