Jump to content

Image changes to another image when hovering

Recommended Posts

  • Replies 3
  • Views 136
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Add to Design > Custom CSS (first image). Repeat Similar for other images

div#block-f725aad622781654f51a:hover img {
    content: url(https://cdn.pixabay.com/photo/2022/05/16/19/14/road-7201023__480.jpg);
}

Find image block id with this code

https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en

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
48 minutes ago, tuanphan said:

Add to Design > Custom CSS (first image). Repeat Similar for other images

div#block-f725aad622781654f51a:hover img {
    content: url(https://cdn.pixabay.com/photo/2022/05/16/19/14/road-7201023__480.jpg);
}

Find image block id with this code

https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en

Thanks! Is this ok with 7.0? 

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.