Add a Hover Zoom Effect to Squarespace Images
One of the easiest ways to make your Squarespace website feel more interactive and professional is by adding a zoom effect on image hover. While Squarespace doesn’t currently include this feature natively, you can achieve it with just a small snippet of custom CSS.
In this guide, I’ll show you exactly how to add image zoom on hover in Squarespace, explain how the CSS works, and give you a few customization tips to make the effect your own.
Why Add a Zoom Effect to Images in Squarespace?
Interactive elements like hover effects can:
Make your website look more modern and dynamic.
Draw attention to images in portfolios, galleries, or product pages.
Improve user experience by creating subtle visual feedback.
Want a framework for designing the perfect homepage?
Need an expert to build your Squarespace website?
Book a free kick-off call with our team to discuss your project requirements in detail.
Step 1: Find Your Block ID in Squarespace
Every block, section, and collection in Squarespace has a unique block ID. To target specific images with CSS, you’ll need to identify the block ID.
Tip: Use Squarespace Block ID Finder to quickly grab these IDs.
Step 2: Add Custom CSS in Squarespace
In your Squarespace dashboard, go to Design > Custom CSS.
Paste the following CSS snippet (replace #block-id with your actual block ID):
#block-ID {
img {
transition: 0.2s !important;
}
&:hover img {
transform: scale(1.2) !important;
}
}
Step 3: Apply to Multiple Images
If you’d like to apply the zoom effect to more than one block, simply add multiple block IDs separated by commas.
Final Tips for Using Image Zoom in Squarespace
Keep it subtle - Overly dramatic zooms can look distracting.
Test on mobile - Hover effects don’t work the same on touch devices, so make sure your design still looks good on phones and tablets.
Stay consistent - Apply the effect to similar image blocks for a cohesive design.
Wrapping Up
Adding a zoom on hover effect to images in Squarespace is quick, easy, and a great way to make your website more engaging. With just a few lines of CSS, you can highlight your visuals, enhance interactivity, and impress your visitors.