Jump to content

Blur all other images when hovering on an image

Recommended Posts

28 minutes ago, sisutemplates said:

Hi, all!

I have been looking at this code which should blur all other images in a section when hovering on a specific image. I am recreating this in Squarespace using a section ID, but so far it doesn't seem to be working. Does anyone have thoughts on how to adjust this for Squarespace?

Can you share your URL of the page which has the images you want to apply this effect?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

With the following Css code on Home > Design > Custom Css, we can set blur for all images, and when we hover an image, it remove the blur effect

section[data-section-id="63a467088b94fb49a18fb206"] .sqs-block-image img {
  filter: blur(5px);
}
section[data-section-id="63a467088b94fb49a18fb206"] .sqs-block-image:hover img {
  filter: blur(0);
}

If you want to set blur effect on all other images when hovering one image, we will need javascript to work around

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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.