Product Gallery Images Appear Behind Main Product Image
-
Problem Summary
The problem is with products that have a main product image as well as images in the product gallery. When viewing a product archive/gallery, you can see both the main image and one of the gallery images on top of each other. Hovering over the image hides the main image and displays the gallery image underneath.When there is only a main image and no gallery image, the product image is smaller and does not change when you hover over it.
Video Capture of the Problem
Screen Shot of Single Product with Gallery ImageIn this video, you can see first that one MP3 has a larger image and, when I hover over it, you see a different image. All my MP3 images are exactly the same dimensions and image type (600×600 jpg). In the one that is larger and changes, I added a different (and unrelated) image in the product gallery (see screen shot linked above).
Next in the video, you can see that, in the case of the cups, there are two handles visible. The cups come in two different sizes (11 oz and 15 oz), so I use the gallery in that case.
The product gallery/archive should show only the main product image, even when hovering. The gallery images should appear only on the single product page.
Attempted Solutions
1. Updated to latest version of WordPress, theme, and all plugins
2. Deactivate all plugins except WooCommerce and Elementor
Note: All my WC pages are built using Elementor Pro, so deactivating it kills the site and you can’t see the product gallery.
3. Switch themes to Twenty Twenty
4. Clear all caches (site, browser, etc.)Results: problem persisted in each case.
At this point I’m not sure what’s causing it or how to fix it.
The page I need help with: [log in to see the link]
- The topic ‘Product Gallery Images Appear Behind Main Product Image’ is closed to new replies.