Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1363187

    Hi I have a problem with some product images displayed in the category images. They are 400px x 400px and the size is not set neither on Woocomerce nor on WordPress.

    #1363320

    Hey paoluccimarketing2015,

    Thank you for the inquiry.

    Are you using the Product Grid element? If you want the grid to use the specified Thumbnail width in the Customize > Woocommerce > Product Images panel, please add this filter in the functions.php file.

    add_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'avf_thumbnail_size_adjustment', 10, 1 );
    function avf_thumbnail_size_adjustment( $thumbnail_size ) {
        return 'woocommerce_thumbnail';
    }
    

    Related thread: https://kriesi.at/support/topic/woocommerce-product-images-not-displaying-correctly/#post-1362021

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.