Remove second image hover on mobile but not desktop

Hello,

I updated the website code to include the second image “hover” feature on mobile however I now want to remove it. I have deleted all the added code but the hover feature is still active and i am unsure why?

What’s interesting is this feature is only active for the product listings on the home page but on the main product pages i don’t have this issue??

Really frustrating, can someone help out please?

Hi @Yossi2
“hover” is a misnomer for mobile devices without a stencil/cursor, it should be touch activated.

Then it’s either all code for that feature is removed , or your are seeing a cached version of the page(s).
For the former you may need to either , restore a backup(you are making a backup before messing with your business right?), or just install a fresh copy of the theme, or try file rollbacks either if using a backup app, or use the new bloated IDE to try and find changes.
https://help.shopify.com/en/manual/online-store/themes/customizing-themes/edit-code/edit-theme-code#roll-back

For the latter clear the browses cache(:warning: will reset ALL sites) or try a different device.

If you need it fixed properly, or improved to work properly then reach out to me for services.
(:speaking_head: click profile pic on forums for options to connect)

hey @Yossi2 you can follow this steps

Hi @Yossi2

I suspect some CSS/JavaScript leftover is still firing the hover effect in your homepage grid.” Search your theme files for any snippets or inline scripts containig hover, mouseenter, or data-hover-image. And clear your theme cache by republishing the theme or duplicating and previewing it - sometimes Shopify gets hold of cached assets after deletion.