Hello
I’m currently trying to fix an issue I’m having with the WooCommerce product image thumbnails.
I have used CSS to make the default images bigger (as they were far too small) however an issue I’m having is that as the images resize on different sized browsers (e.g mobile), it causes the images to stack beneath each other if they take up too much horizontal space.
What I would like to achieve is having the images at a default size (say 4.5em), but that the images dynamically resize so no matter how many images there are they will never exceed one line.
I see the images are configured in an ordered list (ol) so I thought if I could fix the height and width of the ol it might force the images to resize but each time I try they keep pushing out from the limits I’ve set. Here’s my CSS and a photo below:
/*This controls product image thumbanil ol size*/
.flex-control-nav.flex-control-thumbs ol {
max-width: 100%;
max-height: 20%;
border: 2px solid white;
}
/*This controls product thumbnail size*/
.flex-control-nav.flex-control-thumbs img {
height: auto;
width: auto;
border: 2px solid white;