Snug Gallery / Guides

Shopify gallery hover effects: zoom, lift, shine, grayscale

What each Snug Gallery hover effect does to a tile, how it combines with hover captions, what a phone shows instead, and which one suits which page.

Move the pointer across a gallery and something usually happens: the photo grows a little, or lifts off the page, or a caption slides in. It is a small thing, and it does a real job. It tells the visitor the tile can be clicked before they click it. Snug Gallery has one setting for this, Hover effect, with five choices, and most stores leave it on the default without looking at the other four. This guide goes through what each one does to a tile, how it stacks with the caption styles that also react to the pointer, and what happens on a phone, where there is no pointer at all.

Where the setting lives

Hover effect is a block setting, not a gallery setting. You find it in the theme editor, in the Gallery block's Style group, next to Corner radius, Border and Shadow. That means it is chosen per placement: the same gallery can zoom on the home page and sit still on a product page. The block settings reference lists everything else in that panel.

The choices are None, Zoom, Lift, Shine and Grayscale to colour. Zoom is the default, so a gallery you have never configured already has it. All five are included on the free plan.

What each effect does

Zoom scales the image up by 6% inside its frame. The frame does not move and nothing around it shifts; the tile clips the image, so the edges of the photo slide out of view. It takes four tenths of a second. On a photo with a face or a product close to the edge, that 6% can crop an ear or a label, which is worth checking on your tightest shot.

Lift moves the whole tile up by 4 pixels and puts a soft shadow under it. The image is not scaled, so nothing is cropped. Because the tile itself moves, Lift needs a little air around it: with Spacing between images set to 0 the shadow falls on the neighbouring photos and the effect reads as a flicker more than a rise.

Shine sweeps a diagonal band of light across the image, left to right, in seven tenths of a second. The photo does not move or change size. It runs once each time the pointer enters the tile.

Grayscale to colour is the only effect that changes how the gallery looks at rest. Every image is shown in black and white, and the one under the pointer fades to full colour. The files are not altered; the colour is removed by the browser when it draws the tile.

None switches all of it off. A caption style that reacts to hover still does its part, because that is a separate setting.

Hover effect and hover captions are two settings

Caption style has two options that also respond to the pointer: Overlay, show on hover and Overlay, hide on hover. They are independent of Hover effect, and they run at the same time. With the defaults, Zoom plus Overlay, show on hover, a tile grows slightly while its caption fades up from the bottom edge. That pairing is the default because it is the common one.

Some pairings are busier than they sound. Shine plus a caption that appears on hover puts two things in motion over the same photo for most of a second. Grayscale to colour plus Overlay, hide on hover is the opposite and works well: at rest the tile is grey with its label on it, and under the pointer the label clears and the colour comes in, so the photo is revealed in one move.

If the tile has Shop the look pins, they follow the image. Under Zoom the pins scale with the photo so each stays on its product, and under Lift they rise with the tile. The caption guide covers the caption styles on their own.

What a phone shows

A touch screen has no pointer to rest on a tile, so a hover effect has no moment to run in. For Zoom, Lift and Shine that simply means the gallery sits still. A tap opens the lightbox, or follows the image's link, and the effect is never missed.

Grayscale to colour is different, because its resting state is the black and white one. On a phone the grid stays black and white. Some browsers treat a tap as a brief hover and colour the tile for an instant before the lightbox opens, but nobody browses that way. The lightbox itself always shows the photo in colour, since it is drawn outside the grid.

So before choosing Grayscale to colour, decide whether a black and white grid is acceptable as the whole mobile experience. For a photographer's portfolio it often is, and looks deliberate. For a food shop or a paint brand, where colour is the product, it is not. In that case use the Custom CSS field to limit the effect to devices that can hover: set Hover effect to None and add `@media (hover: hover) { .snug__img { filter: grayscale(1); } .snug__item:hover .snug__img { filter: none; } }`. The custom CSS guide explains how rules in that field are scoped to the block.

Visitors who turned motion off

Phones and computers have a system setting, usually called Reduce motion, for people who find animation uncomfortable. Snug Gallery reads it. With the setting on, the gallery removes every transition, so nothing glides.

The effects still change state. Zoom jumps to the larger size and back, Lift snaps up, Grayscale switches to colour at once. Shine, which is nothing but movement, has no visible sweep left. Nothing needs configuring for this, and the slider autoplay guide describes how the same preference stops slides advancing by themselves.

Video tiles

A tile holding an uploaded video or a YouTube or Vimeo link takes the hover effect like any other, on its poster image. Once the visitor presses play inside the tile, Zoom and Grayscale are switched off for that tile, so the playing video is not scaled or drained of colour when the pointer drifts over it.

Which effect for which page

There is no ranking here, only fit. A few pairings that hold up:

  1. Product grids and gift guides where every tile links somewhere: Zoom. It is the convention shoppers already know from collection pages, and it says clickable without any explanation.
  2. Tiles with white or transparent backgrounds, such as packshots or press logos: Lift. Zoom on a centred product against white is barely visible, while a shadow under a rising tile is.
  3. Portfolios, tattoo and photography work, editorial pages: Grayscale to colour, if the black and white grid is acceptable on phones.
  4. A short row of hero images or a seasonal campaign block: Shine, used once. On a 40 tile grid it turns into glitter as the pointer crosses the page.
  5. Before and after pairs, menus, size charts and anything a visitor reads rather than browses: None. The photo is the information, and it should hold still.

If the zoomed image looks soft

Shopify serves each tile an image sized for the space it fills, and Zoom enlarges that by 6%. On a normal screen this is invisible. If it bothers you on a very sharp display with few columns, the cause is usually an original that was small to begin with; the image size guide has the dimensions to upload.

Going further with Custom CSS

The five effects are fixed amounts. If you want a stronger zoom, a slower fade or a different effect entirely, the Custom CSS field on paid plans accepts your own rules. A larger zoom is `.snug__item:hover .snug__img { transform: scale(1.12); }` with Hover effect left on Zoom. A dim-the-others effect, where every tile except the hovered one fades back, is `.snug__grid:hover .snug__item:not(:hover) { opacity: .5; }` with Hover effect on None.

Keep the built-in choice for anything it already covers. A setting in the theme editor is something the next person on your team can find and change; a CSS rule is something they have to know is there.

Frequently asked questions

Do Snug Gallery hover effects work on mobile?

Hover effects need a pointer, so on phones and tablets Zoom, Lift and Shine do not run and the gallery sits still. Grayscale to colour leaves the grid in black and white on touch screens, because black and white is its resting state. The lightbox always shows the photo in colour.

Can I use a different hover effect on different pages?

Yes. Hover effect is a setting on the Gallery block in the theme editor, not on the gallery, so each place you add the block has its own choice, even when two blocks show the same gallery.

Does the grayscale effect change my image files?

No. The files stay as you uploaded them in Shopify Files. The browser removes the colour when it draws the tile and restores it under the pointer, so switching the effect off brings every image back in colour at once.

Are hover effects available on the free plan?

Yes. All five choices, None, Zoom, Lift, Shine and Grayscale to colour, are available on every plan. Custom CSS for effects beyond those is a paid plan feature.

How do I turn the zoom on hover off?

Open the page in the theme editor, select the Gallery block, and set Hover effect to None in the Style group. Zoom is the default, so a block that was never configured has it on.

More guides