Thumbnail - by mb-handmade - on WordPress WooCommerce support

This topic has 9 replies, 3 voices, and was last updated 3 years, 3 months ago ago by mb-handmade

  • Avatar: mb-handmade
    mb-handmade
    Participant
    January 21, 2021 at 22:53

    how can I change the section of the preview image

    8 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 22, 2021 at 08:33

    Hello,

    Sorry, but your question is a bit unclear for me. Please provide a screenshot.
    You can use the Lightshot screenshot tool to share screenshots.

    Regards

    Avatar: mb-handmade
    mb-handmade
    Participant
    January 22, 2021 at 09:07

    Can I change the preview image. For example, I have an image that is very high and my feed images in the store are 3:4. I would like to change the area that is displayed as a preview. However, I want to avoid cropping the image so that it is also displayed cropped in the product page.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 22, 2021 at 13:24

    Hello,

    In other words: do you want to limit the height of the images on the shop page without cropping the images? Then add the below code to Theme Options > Custom CSS

    .content-product .product-content-image img {
        max-height: 225px;
        width: auto;
    }

    Let me know if you want to limit the height of the main image on the single product.

    Regards

    Avatar: mb-handmade
    mb-handmade
    Participant
    January 22, 2021 at 13:58

    This image, for example, is displayed incorrectly as a preview image because the displayed section is not correct. I want all images to be displayed, but the image is automatically cropped and the center is taken. See here:

    Original image:

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 22, 2021 at 16:38

    Hello,

    Oh, I see. Go to Theme Options > WooCommerce > Product Images > choose Uncropped > Save settings. You can’t choose what area to crop if you use the crop option. Also, you may add the previous code to limit the height of the images if you want.

    Regards

    Avatar: mb-handmade
    mb-handmade
    Participant
    January 23, 2021 at 13:50

    Can I choose this option for only one category?
    For example for the BILDERWÄNDE – category?
    https://mb-handmade.de/bilderwaende

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 23, 2021 at 14:19

    No, there is no such possibility.

    Regards

    Avatar: mb-handmade
    mb-handmade
    Participant
    January 23, 2021 at 14:57

    Okay, now I choose 1:1 and that is okay

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

The issue related to '‘Thumbnail’' 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.