Jump to content

Have case study hover images hover automatically on mobile

Recommended Posts


Is there any way I can get my case study hover images to hover on mobile?

I know the functionality can sometimes be difficult, but maybe as the user scrolls, what ever case study tile is in the centre of the screen can automatically flick to the case study hover image I have embedded into the code?

here is an example of the code i'm using for them.

/* Nows The Time - Hover Image */
a.grid-item[href="/casestudies/nowsthetime"]:hover img {
    visibility: hidden;
.grid-image-inner-wrapper:after {
    visibility: hidden;
a.grid-item[href="/casestudies/nowsthetime"]:hover .grid-image-inner-wrapper {
    background-image: url(https://static1.squarespace.com/static/649838326bdf2c09135e2800/t/64efbe1eac7c471ba5f958fa/1693433379839/LG-Nows-The-Time.gif) !important;
background-repeat: no-repeat;
background-size: cover;


thanks in advance!



Link to comment
  • Replies 2
  • 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.