Hi Tom and team,
I want to use WebP images on the WooCommerce gallery (Imagify + WPRocket using the <picture> tags ). The main image works fine, but the hover image shows a small thumbnail image. Do I have to change some CSS or is it more a code thing?
Thanks!
Hi David,
I added the link. Seems there is no width set in plugins/gp-premium/woocommerce/functions/css/woocommerce.min.css for .wc-has-gallery .secondary-image
Adding width: 100% seems to work.
Yeah that definitely cures it.
GP uses the standard Woo templates, stylesheets, JS for this kind of stuff so we’ll take a nose to see if they are ‘now’ doing something different. And we’ll do some tests to see if it can be added as patch.
You ok adding that CSS to your stylesheets for now?