Jump to content

CSS Help: Gallery Slideshow Show Next Image On Hover

Recommended Posts

Posted

I have some experience with css, but I am still a beginner. I am trying to write a code for a website I am working on where the gallery block (in slideshow design) shows the next image on a hover action. I want the links on the images to remain active. Here is the inspiration site that I am trying to recreate for this portfolio page: https://ayakaito.com/branding

This is the code I am working with so far:

 

/* Squarespace gallery block hover effect */
.gallery-block .gallery-item:hover {
  visibility: hidden;
}

.gallery-block .gallery-item:hover ~ .gallery-item {
  visibility: visible;
}
 

 

 

This is my first time posting to the forum. Thank you for your help!

  • Replies 1
  • Views 389
  • 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.