• Hi

    I have read through the forums and ended more confused! I want to set the thumbnail images on the products listing page to be smaller. I tried this assuming that it had been set in the functions.php. I applied the following to a child theme functions.php:

    add_theme_support( 'woocommerce', array(
        'thumbnail_image_width'         => 200,
        'gallery_thumbnail_image_width' => 100,
        'single_image_width'            => 500,
    ) );

    I then ran regenerate thumbnails plugin but it didn’t change the size. I then added this to the functions.php

    add_filter( 'woocommerce_gallery_thumbnail_size', 'custom_woocommerce_gallery_thumbnail_size' );
    
    function custom_woocommerce_gallery_thumbnail_size() {
    return 'thumbnail';
    }

    I am still not resizing the thumbnail width though.

    What am I doing wrong please?

    Thanks

    Rich

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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Product Thumbnails’ is closed to new replies.