Jump to content

Custom CSS only working in edit mode

Recommended Posts

Posted

Site URL: https://www.expressdraftingllc.com/home/contact

On the contact page specifically, I have those two images on there in which I'd like the text and opacity to only show whilst hovering over them.

This is my current code line;

@media only screen and (min-width: 640px){
#block-yui_3_17_2_1_1728344822415_75558, #block-989e4203b20da71b4c0f,  {
    opacity: 0 !important;
    transition: opacity 0.5s;
  }
  #block-yui_3_17_2_1_1728344822415_75558:hover, #block-989e4203b20da71b4c0f:hover, {
    opacity: 1 !important;
  }
}

Any help is much appreciated!

  • Replies 2
  • Views 405
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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.