• Resolved gingerbenn

    (@gingerbenn)


    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)
  • Stef

    (@serafinnyc)

    You’re using a premium theme, which we don’t support on this forum. You’re best to reach out to the author of your theme for support. Most likely the settings for your thumbnails are inside the customize section.

    Go to Appearance > Customize > WooCommerce or

    Appearance > Customize > Product Page and make the gallery horizontal rather than vertical.

    But again, reach out to the author for further support.

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem! If you have other questions, please feel free to open a new topic.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Woocommerce image size gallery thumbnails’ is closed to new replies.