Jump to content

Text Hover Over Images Not Working!

Recommended Posts

Hi,

I have just had a client's site go live and one of the pieces of code I used isn't working. It was working in edit mode but not now the site has gone live.

It was basically meant to show images and when you hover over the image on the desktop, the text will appear over it.

 

The code that I used was this:

@media only screen and (min-width: 640px){ 
#block-yui_3_17_2_1_1676200223768_660389 { 
opacity: 0; 
transition: opacity 1s 

#block-yui_3_17_2_1_1676200223768_660389:hover { 
opacity: 1; 
transition: opacity 1s 

}
 

Here is one of the pages with the issue: https://www.elmgray.com/meet-the-team

 

If anyone would be able to advise, I'd be very grateful!

Thanks 🙂 

Link to comment
  • Replies 1
  • Views 942
  • 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.