Jump to content

Custom CSS only works in edit mode

Recommended Posts

Hello!

I'm using css to make a text box reveal on hover over an image. It's pretty straight forward, but it's only working in edit mode, not once I save or in any other viewing browser. 

Here's the code (same/sub block for following sections):

@media only screen and (min-width: 640px){

#block-00eba619a5dcb7f707ea {

opacity: 0;

transition: opacity 1s

}

 

#block-00eba619a5dcb7f707ea:hover {

opacity: 1;

transition: opacity 1s

}

}

 

Page: https://labtheater.org/dia-y-noche

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