Hover Effects Not Working: How to Fix

4 min read Updated

Hover effects not working on your site? The cause is almost always one of a few things: a wrong shortcode, a cached page, a theme or plugin that interferes, or an optimization plugin that changes the plugin’s files. Work through the checks below in order; most problems are fixed in the first three.

1. Check the Shortcode

Open the page while you are logged in as an Administrator. If the shortcode points at a style that doesn’t exist, you see a red note in its place, for example “Image Hover: Style ID 999 not found in database”. Visitors see “Shortcode Deleted, kindly add correct Shortcode” instead.

Hover effects not working: the red note an administrator sees when the style id in the shortcode doesn't exist
  • Compare the id with Image Hover → Shortcode, and copy the shortcode again with the Copy button.
  • Use straight quotes: [iheu_ultimate_oxi id="50"]. Curly quotes from a word processor break the shortcode.
  • If the shortcode shows as plain text, the plugin isn’t active, or it sits in a Paragraph block instead of a Shortcode block.

More in Image Hover Effects Shortcode.

2. Saved Changes Don’t Show? Clear the Cache

  • Make sure you clicked Save in the editor; the live preview alone doesn’t save.
  • Clear the cache of your caching plugin (for example WP Rocket, LiteSpeed Cache or W3 Total Cache) and of your CDN, if you use one.
  • Reload the page with a hard refresh (Ctrl+Shift+R on Windows, Cmd+Shift+R on a Mac).

3. Optimization Plugins That Break Hover Effects

Plugins that combine, minify, defer or delay CSS and JavaScript are the most common reason for hover effects not working. The effects need their CSS files, jQuery and the plugin’s own script. Each style also prints its own CSS in a <style id="oxi-iheu-late-css"> block near the end of the page.

If the effects break after you turn on such an option, exclude these from it, or turn the option off to test:

  • CSS: animation.css and style.css from /wp-content/plugins/image-hover-effects-ultimate/assets/frontend/css/, and the effect files in /wp-content/plugins/image-hover-effects-ultimate/Modules/
  • JavaScript: oxi-jquery.js, waypoints.min.js and touch.js from /wp-content/plugins/image-hover-effects-ultimate/assets/frontend/js/, plus jQuery itself
  • Inline CSS: the oxi-iheu-late-css style block

4. Find a Conflicting Theme or Plugin

  1. Open your browser’s console (right click, Inspect, Console) and reload the page. Red errors that mention jQuery or “$ is not defined” point to a script problem in the theme or another plugin.
  2. Switch to a default theme such as Twenty Twenty-Five for a moment. If the effects work, the theme is the cause; add a Custom parent class in Settings and use it to make your CSS win over the theme’s.
  3. Deactivate your other plugins, check the page, then turn them back on one by one. The plugin that breaks the effects is the conflict.

To test without changing the live site for your visitors, use the free Health Check and Troubleshooting plugin: its troubleshooting mode turns plugins and the theme off only for you.

5. Icons Are Missing

  • Check that Font Awesome is on in Image Hover → Settings.
  • If your theme also loads Font Awesome and icons look wrong, try it the other way round: turn the plugin’s Font Awesome off so only one copy loads.

6. Hover Effects Not Working on Mobile

Phones have no hover. With Show the effect on first tap on (the default), the first tap shows the effect and the second tap opens the link; that is correct behavior. With it off, a tap opens the link at once without showing the effect. See Image Hover Settings Explained.

7. Entrance Animations Don’t Play

  • Check that Waypoints is on in Settings, or that your theme loads Waypoints itself.
  • If the visitor’s device has “reduce motion” turned on in its accessibility settings, the plugin skips entrance animations on purpose. Hover effects still work.
  • A “delay JavaScript” option in an optimization plugin can stop the animations until the visitor interacts: see step 3.

Keep Your Galleries Fast

  • The plugin loads its files only on pages that show a style; other pages load nothing from it.
  • Turn off Font Awesome, Waypoints or Google Fonts in Settings if your theme already loads them, so nothing loads twice.
  • Images matter most: upload them at the size they are shown and compress them, for example with Squoosh.

Hover Effects Still Not Working?

Ask in the support forum. Include the page link, what you expected and what you see, your WordPress and PHP versions, your theme and any console errors. See also the FAQ.

Still stuck?

A developer who works on Image Hover Effects answers every ticket.

Open a ticket