Your account expired support, please renew to get your support.

Home Forums Themes Support Clarivo Thumbnail on product page are blurry

  • This topic has 1 reply, 2 voices, and was last updated 1 year ago by admin.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8630
    thibault
    Support Expired

    If you take a look at the product page you can see under the main picture that the thumbnail are 100×100 picture but stretched instead of use bigger ones. Resulting very blurry pictures.

    #8635

    Hi,
    Thanks for contacting us and choosing our product!
    The image thumbnail gallery use default size of WooCommerce settings.
    You can change it by go to: wp-content/themes/clarivo/funnctions.php
    or use child theme.
    and add this code:

    add_filter( 'woocommerce_get_image_size_gallery_thumbnail', function( $size ) {
        return array(
            'width' => 160,
            'height' => 160,
            'crop' => 0,
        );
    } );

    More detail you can read in this tutorial: https://docs.woocommerce.com/document/image-sizes-theme-developers/
    Hope this helps!

    ****
    Regards,
    HaruTheme

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.