Hi you wise people!
Thank you for supporting the new Woocommerce gallery, it gives me all that I need for gallery.
I managed to make some customization to my gallery (magnifier look, thumbnails size & place & opacity & borders), but at the same time must have done something wrong, since now the thumbnails are not lining up properly. First thumbnail of the row 2 does not look good. I added screenshot to show that. How can I make thumbnails work correctly?
Here is also the code I used to edit the gallery.
/* WooCommerce 3.0 Gallery */
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
position: absolute;
top: .875em;
right: .875em;
display: block;
height: 2em;
width: 2em;
border-radius: 3px;
z-index: 99;
text-align: center;
text-indent: -999px;
overflow: hidden;
}
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
background-color: #BABABA;
color: #ffffff;
}
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger:hover {
background-color: #000000;
border-color: #1781ae;
color: #ffffff;
}
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger:before {
font: normal normal normal 1em/1 FontAwesome;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
display: block;
content: “\f00e”;
line-height: 2;
text-indent: 0;
}
/product gallery thumbnails under main picture/
.single-product .flex-control-nav {
position: static;
}
.single-product .flex-control-nav li {
float: left;
box-shadow: none;
border:0.5px solid #F8F8F8;
}
.flex-control-nav.flex-control-thumbs {
position: relative;
}
.flex-control-nav.flex-control-thumbs img {
width: auto;
height: 100px;
vertical-align: top;
transition: opacity 0.3s ease;
cursor: pointer;
}
.woocommerce-product-gallery__trigger img {
opacity: 0;
}
.flex-control-nav.flex-control-thumbs img:not(:hover):not(.flex-active) {
opacity: 1;
}
Could you help me with this? Thank you.