Tagged: ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1366343

    Hi everybody, it seems that – since the last Enfold theme-update – the woocommerce thumbnails are square.
    https://www.jagador.de/shop/
    The settings in customizer is on no change but the thumbs are cropped to square.
    Is there any change in Enfold concerning the image sizes?
    When I switch to storefront, images are displayed correct.

    Any idea how to fix this?

    • This topic was modified 2 years, 1 month ago by WebbR.
    #1366506

    Hey WebbR,

    Thank you for the inquiry.

    Adding this filter in the functions.php file should help.

    dd_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'avf_wc_before_shop_loop_item_title_img_size_mod', 10, 1 );
    function avf_wc_before_shop_loop_item_title_img_size_mod( $thumbnail_size ) {
        return 'woocommerce_thumbnail';
    }
    

    This will revert the thumbnails back to default (woocommerce_thumbnail).

    Best regards,
    Ismael

    #1366547

    Hey Ismael, thx for the Code who worked fine!
    But could you please explain why the Update changed the Thumbnailsize? A bit strange beacause the Change ist only visible on new Prroducts – only after regenerate all thumbs it is equal for all products…

    Anyway THX a lot!
    Best regards,
    Frank

    #1366668

    Hi,

    Glad to know that the filter is working. We provided an explanation in the following thread.

    // https://kriesi.at/support/topic/bug-in-enfold-for-woocommerce-prduct-images/#post-1363586

    Using the filter just reverts the thumbnail size back to the default woocommerce thumbnail, which is required by the Woocommerce > Product Images settings.

    Best regards,
    Ismael

    #1366685

    OK, understanding… THX!

    #1366719

    Hi,

    Great, I’m glad that Ismael could help you out. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1366721

    Can be closed! Thank you!

    #1366729

    Hi,

    Thanks for letting us know, I’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Woocommece Thumbnails are square since last theme update’ is closed to new replies.