I’d like to fit my product image and thumbnails to their li/divs even when the browser isn’t full width:
http://irc.bio/product/ibutamoren/
full-width:
not full-width:
I think it needs to be styled correctly in CSS. I’m currently using some custom CSS to make the thumbnails look better but it’s not enough.
/*
* Fix for Shop Left Thumbnail Slider Vertical Align
**/
/*ul.slides { */
.lSSlideOuter li {
display: flex;
/*align-items: center;*/
}
.lSSlideOuter.vertical .lSPager.lSGallery li img {
height: 100% !important;
height: auto !important;
width: auto !important;
/*max-height: 100% !important;*/
/*max-width: 100% !important;*/
}
.lSSlideOuter li img {
margin: auto;;
}
.lSSlideOuter li img {
max-height: 100%;
max-width: 100%;
}
Can you help me auto-scale and fit to center my product images and thumbnails?