Shop image sizes - by gstec - on WordPress WooCommerce support

This topic has 3 replies, 2 voices, and was last updated 5 years, 3 months ago ago by gstec

  • Avatar: gstec
    gstec
    Participant
    August 25, 2020 at 07:52

    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
    August 25, 2020 at 15:55

    Hello,

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

    Regards

    Avatar: gstec
    gstec
    Participant
    August 25, 2020 at 18:08

    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

  • Viewing 3 results - 1 through 3 (of 3 total)

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

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.