Made in Europe, buy from Europe.

Black Friday

65% off Annual plans

25% off Lifetime · 10 per week

Ends December 2

Get the deal →

How to add hover effects to a WordPress gallery

Updated 2 min read

A hover effect is what happens to an image when a visitor moves the mouse over it, without clicking. The photo can zoom or lift, get darker, and show its title, caption and share icons. In your WordPress gallery, you pick the effect for the whole gallery and can change it for single images.

Note: Phones and tablets have no mouse, so visitors there don’t see hover effects.

Watch how to pick a hover effect on the Motion tab, try it in the preview and give one image its own effect.

Choose the hover effect of a gallery

  1. Go to Modula → Galleries and open your gallery.
  2. Click Motion in the left rail.
  3. Open the Hover list and pick an effect.
  4. Move the mouse over the preview to see the effect.
The Motion section of the gallery editor: Entrance, Speed, Hover, Darken on hover, Animate on phones and Cursor options

The first entry in the list is marked (recommended). Modula picks it for the gallery type. It changes if you switch to another type.

The other effects are None, Captions only, Lift, Tilt, Spotlight, Pan, Balanced reveal and Center hero. You can also pick Caption spotlight, Cinematic dark, Corner tag left, Corner tag right, Monochrome, Social strip or Product card.

The Hover list with Zoom recommended for this layout and the other hover effects

Other settings in the Motion section

The Motion section has a few more settings:

  • Darken on hover: Darkens the photo under the mouse. Pick the shade under Overlay, which appears in More settings when you switch it on.
  • Cursor options: Find these under More settings. Switch on Change the cursor and choose the mouse pointer shown over the images. Custom lets you upload your own image under Upload cursor.
  • Animate on phones: Turn it off to skip the motion effects on phones.
  • Entrance and Speed: Set how the images appear when the page loads. See Modula Loading Effects.

You set the place, colors and sizes of the title and caption under Layout → Captions. See captions and titles.

Use a different hover effect on one image

The steps above set the effect for the whole gallery. You can give a single image its own effect.

  1. Click an image in the preview.
  2. Click Edit image on it.
  3. In the panel, pick an effect in Hover effect. Gallery default follows the gallery.

    The Hover effect field in the image panel, set to Gallery default

To change many images at once, click Bulk edit and use the Hover effect column. Bulk editing has its own guide.

To restyle the hover text with code, see custom CSS for titles, captions and hover.

Was this page helpful?
0 0

Still stuck?

Can’t find the answer?

Write to us with what you tried and what you expected to happen, and we’ll help you sort it out.