Woocommerce image size gallery thumbnails
-
Ok I am having problems with changing the size of my woocommerce gallery thumbnails, they should display 100 w x 120 h cropped and line up equally along side the main product pack shot image.
The thumbnail currently display 100 w x 100 and don’t line up with the bottom of the main product image.
I was given some code the below code to add to my functions.php file but the code did’t seem to have any effect on the thumbnail images.
add_filter( 'woocommerce_get_image_size_gallery_thumbnail', function( $size ) { return array( 'width' => 460, 'height' => 460, 'crop' => 1, ); } ); add_theme_support( 'woocommerce', array( 'gallery_thumbnail_image_width' => 460, ) );
Is there something wrong with the above code?
See this link as what I am trying to replicate, basically the thumbnail images are cropped and line up with the bottom of the main product image.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)
- The topic ‘Woocommerce image size gallery thumbnails’ is closed to new replies.