CSS change causing major visual regression
-
In a recent update, the following CSS was added:
.woocommerce div.product div.images .woocommerce-product-gallery__image {
padding: 0 !important;
}I don’t know why exactly, but this is causing the slick track to get huge, creating a giant gap between the main image and the thumb nav. When I comment out the rule, it works fine. I tried adding back
padding-top: 0; padding-bottom: 0;
and both work fine, but if I addpadding-left: 0;
orpadding-right: 0;
, it breaks the page layout. I have no idea why any padding-left or padding-right rule breaks it, I tried unset, inherit, initial, and reset all break the layout as long as either padding-left, or padding-right are in there. So there is definitely a problem.Also, using such a specific selector then adding !important is awfully heavy handed.
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.