Fix the WooCommerce gallery zoom and gallery lightbox

This commit is contained in:
Ismail El Korchi 2020-04-14 23:36:44 +01:00
parent ce85ca3291
commit c6da2b7087
2 changed files with 4 additions and 2 deletions

View File

@ -7,10 +7,11 @@
.woocommerce-product-gallery { .woocommerce-product-gallery {
position: relative; position: relative;
float: left;
.woocommerce-product-gallery__trigger { .woocommerce-product-gallery__trigger {
position: absolute; position: absolute;
top: 1em; top: 2em;
right: 1em; right: 1em;
display: block; display: block;
z-index: 99; z-index: 99;

View File

@ -151,11 +151,12 @@ ul.products li.product .button {
.single-product div.product .woocommerce-product-gallery { .single-product div.product .woocommerce-product-gallery {
position: relative; position: relative;
float: left;
} }
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger { .single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
position: absolute; position: absolute;
top: 1em; top: 2em;
right: 1em; right: 1em;
display: block; display: block;
z-index: 99; z-index: 99;