Variation previews not showing
-
On this page you can see the first image of the black hat shows correctly as a preview. If you click the black hat with the red bill, the preview box is blank.
I’ve been able to confirm that the preview images ARE loaded on the page, but they’re stacked vertically on top of each other. If you open Chrome’s developer tools you can see this. I’ve also taken screenshots, hopefully you can access imgur since I can’t upload them here: https://imgur.com/a/i07zh79
Image 1 is the first product preview, shown, because the translate on the woocommerce-product-gallery__wrapper class is at 0,0,0.
Image 2 is when I hover over the second div inside that figure wrapper, which should be the black hat red bill, and you can see the image is below the black hat, not to the right of it.
Image 3 is after I’ve clicked the black hat red bill preview thumb and I’m hovering over the first div of the all black hat in the developer tools. You can see that image has moved to the left, and the translate on the wrapper is at -456px,0,0 to cause that movement to happen.
Image 4 is hovering over the black hat red bill div, and you can see that it too has moved over to the left and is still directly beneath the all black hat image. If the images had been stacked horizontally, this black hat red bill image would now be showing in the preview box, which is what is expected. Since they’re stacked vertically, they will not show.
I’m pretty comfortable with CSS, but I cannot figure out why these images are stacking vertically. I’ve tried forcing them into an inline-block, but it doesn’t seem to matter. They’re floated left like they should be, the width on the figure wrapper is huge (1800%), I can’t figure it out. If they would stack horizontally, they’d show.
The page I need help with: [log in to see the link]
- The topic ‘Variation previews not showing’ is closed to new replies.