• Resolved amd786

    (@amd786)


    Hi, i have product images appearing twice on mobile, when i am using desktp but using mobile /laptop view they seem ok but when use mobile phone iphone android they seem duplicating, i raised it with my hosting support and they said maybe its woocomerce hover over image which is causing issue, i tried codes etc but cannot get the hover ove image zoom off and the issue is still there. any help will be much appreciated, thanks

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Possible Solution for Product Images Duplicating on Mobile Devices

    It sounds like the issue might be related to the WooCommerce hover effect or a theme-related conflict. Here’s a step-by-step approach to troubleshoot and hopefully resolve the issue:

    1. Disable WooCommerce Image Hover Effects:
      • Add the following CSS code to your theme’s Additional CSS section in the Customizer:
      cssCopy code.single-product div.product .woocommerce-product-gallery .flex-control-nav, .single-product div.product .woocommerce-product-gallery__trigger { display: none !important; } .single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper { pointer-events: none; } This code disables the hover effect and may prevent the images from duplicating.
    2. Check for Theme or Plugin Conflicts:
      • Temporarily switch to a default WordPress theme like Twenty Twenty-One to see if the issue persists. If the problem disappears, it’s likely a theme conflict.
      • Deactivate all plugins except WooCommerce and see if the problem is resolved. If it is, reactivate each plugin one by one to identify the culprit.
    3. Clear Mobile Cache:
      • Clear the cache on your mobile browser to ensure that you’re not seeing a cached version of your site with the issue.
    4. Test Different Devices/Browsers:
      • Test your site on different mobile devices and browsers to see if the issue is consistent across all platforms.
    5. Responsive Image Settings:
      • Ensure that your theme is correctly handling responsive images. Some themes have settings specifically for mobile images, so double-check those.

    If these steps don’t resolve the issue, it might be helpful to share more details like the theme you’re using or any customizations you’ve applied, as that can help others provide more targeted advice.

    Thread Starter amd786

    (@amd786)

    thank you for your reply, i will try the above steps and will get back , thanks

    Thread Starter amd786

    (@amd786)

    .single-product div.product .woocommerce-product-gallery .flex-control-nav, .single-product div.product .woocommerce-product-gallery__trigger { display: none !important; } .single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper { pointer-events: none; }

    i tried this code , the hover over images is still there, its removed the product gallery and still duplicate images appearing on mobile

    Moderator James Huff

    (@macmanx)

    In that case, I recommend getting in touch with WooCommerce’s support about this via https://woocommerce.com/my-account/contact-support/ if you have any of their paid WooCommerce products or https://www.ads-software.com/support/plugin/woocommerce/ if you do not.

    Moderator Support Moderator

    (@moderator)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘product images on appearing twice on mobile view’ is closed to new replies.