CSS Minify blows up product images in WooCommerce
-
CURRENTLY
I have Minify turned on for our site, with the following configurations:
– Rewrite URL structure = TRUE
– HTML / XML – Enable = TRUE
– JS minify – Enable = TRUE
– CSS minify – Enable = FALSEISSUE
When I try set CSS Minify – Enable to TRUE, it causes the product images on our WooCommerce Product Pages to increase to full screen size (for main image), and full width for gallery below.
I have been trying to do a comparison of the page with and without CSS minify, and only difference I could identify is the “style=width..” on 4 tags on each product page.
For example:
CSS Minify = FALSE
<div class="woocommerce-product-gallery woocommerce-product-gallery--with-images woocommerce-product-gallery--columns-4 images" data-columns="4" style="opacity: 1; transition: opacity 0.25s ease-in-out 0s;"><div class="flex-viewport" style="overflow: hidden; position: relative; height: 593.047px;">
CSS Minify = TRUE
<div class="woocommerce-product-gallery woocommerce-product-gallery--with-images woocommerce-product-gallery--columns-4 images" data-columns="4" style="opacity: 1; transition: opacity 0.25s ease-in-out 0s;"><div class="flex-viewport" style="overflow: hidden; position: relative; height: 1235.52px;">
The page I need help with: [log in to see the link]
- The topic ‘CSS Minify blows up product images in WooCommerce’ is closed to new replies.