Shop image sizes - by gstec - on WordPress WooCommerce support

Solved2 replies2 participantsUpdated by gstec

  • Avatar: gstec
    gstec
    Participant

    Dear support,

    I am having the same issue described in this topic https://www.8theme.com/topic/shop-image-sizes/ but the solution given is not possible because we have thousands of images automatically imported from different suppliers. This topic is 2 years old now and I was wondering if there was any updates that allow to achieve what we want with the shop images.

    The options in Appearance > Customize > WooCommerce > Product Images don’t allow to do that. Normally with some CSS thetask would be easy to do but the way the product elements are layed in the page makes it impossible from what we have tried so far.

    Any suggestions.

    Thanks

    2 Answers

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    Thanks for using our theme.
    Go to Customizer > Woocommerce (Shop) > Product Images > https://prnt.sc/u5na0g

    Regards

    Avatar: gstec
    gstec
    Participant

    Hello,

    Thanks for the reply.

    For anybody else that might have the same issue the above solution works in combination with the following CSS

    .product-image-wrapper, .product-content-image{
    height: 300px !important;
    }

    .attachment-woocommerce_thumbnail, .attachment-shop_catalog {
    width: 100%; /* or any custom size */
    height: 100%;
    object-fit: contain;
    }

    Change your 300px container height to whatever your need is.

    Thanks

The issue related to '‘Shop image sizes’' has been successfully resolved, and the topic is now closed for further responses