Hotspots Out of Place on Mobile with Hostinger
This guide applies to:
- Basic
- Professional
In this guide
Introduction
If your hotspots line up perfectly on desktop but drift out of place on phones and tablets, and your site is hosted with Hostinger, this guide will walk you through a quick fix.
How to Tell If This Is Your Issue
This issue is easy to spot. You’re likely running into it if:
- Your hotspots look correct on desktop, even when you shrink your browser window.
- The hotspots only shift on a real phone or tablet.
- Your site is hosted with Hostinger.
If your hotspots are out of place on desktop too, take a look at our Hotspots Out of Place guide instead.
Why This Happens
Hostinger’s CDN includes a feature called Smart image optimization. It automatically picks a different image width and quality for desktop and mobile visitors to help pages load faster.
That’s great for speed, but Draw Attention places your hotspots using the size of the image you drew them on. Your computer usually gets the same copy you saw while drawing, so everything lines up there. A phone gets a smaller copy, so the hotspots no longer line up with it.
Turn Off Smart Image Optimization
- Log in to your Hostinger account (hPanel).
- Go to Websites, hover over your site, and click Manage site.
- From the sidebar, go to Performance > CDN.
- Click Manage, then open the Website optimization tab. (Depending on your account’s language, it may be spelled “Website optimisation.”)
- Toggle off Smart image optimization. There’s no Save button, so the change applies as soon as the toggle is off.
You can leave WebP image compression on. It changes the image’s file format, not its size.
Flush the Hostinger Cache
Hostinger’s CDN may still be holding onto the resized images, so clear it out next:
- Go back to Performance > CDN.
- Click Flush cache.
If you’re also using a caching plugin like LiteSpeed Cache, clear that cache too. Hostinger has a handy guide on clearing every type of cache if you need it.
Check the Fix on Your Phone
Open the page with your interactive image in a private or incognito window on your phone. Incognito loads the page fresh with nothing saved, so it shows you exactly what your visitors see.
If the hotspots line up there, the fix is working. Your phone’s regular browser may still show the old version for a while, but your visitors will see the fix.
If Your Hotspots Are Now Out of Place Everywhere
Once the optimization is off, desktop and mobile should match. If the hotspots are now off on both, they were most likely drawn while Smart image optimization was on, so they were saved to fit a smaller copy of your image. Now that your site shows the full-size image, they sit too close to the top-left corner.
Redraw them in the drawing tool with Smart image optimization still off, click Update, and flush the Hostinger cache again. That will line everything back up.
Our Hotspots Out of Place guide explains why this happens.
Still Seeing the Issue?
If your hotspots still shift on mobile after these steps, something else on your site may be resizing the image, like an image optimization plugin or your theme’s or page builder’s mobile settings.
If that’s the case, contact our support team with a link to the page that has your interactive image, and we’ll help you get it sorted.
Related Guides
-
JavaScript Error Displays or Flashes
-
Unable to Edit or Create
-
Hotspots Out of Place
-
Hidden Images Don’t Work