Jump to content

Image hover state

Recommended Posts

  • Replies 5
  • Views 697
  • Created
  • Last Reply
3 minutes ago, xavier-cusso said:

Sure @tuanphan I meant adding a hover state that changes the image highlighted in red below to the one in the message above, on mouseover.

On the homepage, "The Fos Collections" section.

Thanks!

 

You mean change image on hover?

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
21 hours ago, xavier-cusso said:

Exactly, @tuanphan

 add to Home > Design > Custom CSS

div#block-yui_3_17_2_1_1576760789753_14465 a:hover img {
    visibility: hidden;
}
div#block-yui_3_17_2_1_1576760789753_14465 a:hover {
    background-image: url(https://beaverhero.com/wp-content/uploads/2019/06/trees-3464777_640-min.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

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.