Home Forums WoodMart support forum Single product main image size

Single product main image size

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #671951

    Andrei
    Participant

    Hi.
    Is there any way i can set a max image height for single product image view? Currently it looks very large. All there products are dropshipped so no way to control the size they get imported in.
    See: https://prnt.sc/MLnFysoci9SV

    Thanks!

    #671958

    Hello,

    It is due to the image size because your images are too long. The minimum resolution for your WooCommerce product images is 800px x 800px.

    Navigate to Theme Settings > Single product > Choose the Product page layout. You can choose a different page layout depending on the product image size you need.

    See Screenshot for clarification: https://ibb.co/chy7rZ61

    Best Regards,

    #671960

    Andrei
    Participant

    Hi.
    Thank you for such a quick answer.

    I know my images have a big height. Like i explained they are imported via a drop shipping plugin so i have no control over that.

    My initial question is still answered. Is there any way to force a max height?

    Your suggestion with changing the layout is not helping us, because then the right side will be to big.

    Thank you again for your time.

    #672045

    Hello,

    Your images differ in size considerably. The only way to make the view awesome is to upload images of the proper size and proportion.

    Alternatively, Please try adding the following CSS code in Theme Settings > Custom to control the image height. You can adjust the max-height value to suit your design preference.

    .woocommerce-product-gallery__image img {
        max-height: 600px; /* Adjust this value as needed */
        height: auto;
        width: auto;
        object-fit: contain;
    }

    Best Regards,

    #672161

    Andrei
    Participant

    Thank you!

    #672204

    Hello,

    You’re very welcome! If you need anything else, feel free to reach out!

    Thanks for contacting us.
    Have a great day.

    Topic Closed.
    Best Regards,

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Single product main image size’ is closed to new replies.