Merge pull request #1406 from Ismail-elkorchi/fix-gallery-zoom

Fix the WooCommerce gallery zoom and gallery lightbox
This commit is contained in:
Ismail El Korchi 2020-04-15 10:43:22 +01:00 committed by GitHub
commit 817e14f312
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

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

View File

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