Jump to content

Team Image Avatar > Video Avatar on Hover

Recommended Posts

  • Replies 3
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

On 4/15/2024 at 5:32 AM, CharlieHNZNeu21 said:

That works! What would that code be @tuanphan?

For example this image

image.png.a30852a209c4c8a033062c884b7b05dd.png

to change it to another image on hover, you can use this CSS code to Website > Website Tools > Custom CSS

div#block-d0c3ea0d1396e090325e:hover img {
    content: url(https://cdn.pixabay.com/photo/2021/04/05/04/21/ao-dai-6152101_1280.jpg);
}

Replace Pixabay image with your gif image url

div#block...5e is Image Block ID. You can use this free tool to find ID

https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff

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

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.