Support » Plugin: WooCommerce » Front Page Thumnails

  • Resolved JLee

    (@karado58)


    Hello,

    I just can’t figure out how to change the cropped thumnails on the front page, to uncropped.

    https://snipboard.io/GdZa0i.jpg

    I managed to fix the thumbnails everywhere else with the following code in the child theme functions.php:

    https://snipboard.io/tY50SZ.jpg

    add_filter( 'woocommerce_get_image_size_gallery_thumbnail', function( $size ) {
    return array(
    'width' => 150,
    'height' => 150,
    'crop' => 0,
    );
    } );
    • This topic was modified 4 months, 1 week ago by JLee.

    The page I need help with: [log in to see the link]

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