Reducing product image within a fixed size
-
I have given a maximum height to a product image. If the image is higher than 450 pixels, the image will be proportionately placed and the image will be 450 pixels tall. But if an image is narrower in height, the displayed height will also be narrower, causing the gallery to position images upwards.
I would like the gallery images to always stay in the same position. How do I do that?
The following code i’ve used:
.woocommerce div.product div.images img {
width: auto;
max-height: 450px;
margin: 0 auto;
}`The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Reducing product image within a fixed size’ is closed to new replies.