Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1407982

    The WooCommerce thumbnails are suddenly generating at a square ratio even though they are set to a custom size (706 px x 1000 px). This was working until recently.

    When we swap out the Enfold theme for the WooCommerce “Storefront” theme the problem is resolved, so it appears to be some conflict with Enfold.

    Only new uploaded images are having this issue. Older ones are fine.

    On https://mannequinsource.com/product/rpfa-1/ if you scroll down to the “Related Products” section you’ll see that the thumbnails don’t align if one of the newer images is in the selection (note, you may need to refresh the page to see a set of related products that are affected by this).

    We’ve tried changing the images, and installing the newest version of Enfold, but nothing has fixed the issue yet.

    #1407998

    Hey WaldenDesign,

    Please add this code in functions.php of your child theme, if you don’t have a child theme then you can use the plugin called WPCode to insert this code snippet:

    add_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';
    }

    I hope it helps.

    Best regards,
    Nikko

    #1408037

    That worked! Many thanks!

    #1408042

    Hi,
    Glad Nikko was able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘WooCommerce Thumbnail Size is Wrong’ is closed to new replies.