• I would like to change the way the product image and associated product gallery images display on the product page. The standard setup is one large main product image and the little thumbnails of the associated gallery images either below or to the side. Instead, I would like to have all the images, the main one and the associated gallery images, show as the same size – stacked vertically.

    Thank you for your time!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey, @jma914133

    If you want to change the way your products images are shown, you can customize your single product page. Their are many plugins which can help you in easy implementation.

    Hi @jma914133,
    You can change the no of columns for thumbnail, By default it is 4, you can make it 1. Then your all images are of same size. you can try below code

    add_filter( 'woocommerce_product_thumbnails_columns', 'wp_change_woocommerce_product_thumbnails_columns' );
    
    /**
     * Function for woocommerce_product_thumbnails_columns filter-hook.
     * 
     * @param  $4 
     *
     * @return 
     */
    function wp_change_woocommerce_product_thumbnails_columns(){
    
    
    	// filter...
    	return 1;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is there a way to change the way product images display on the product page?’ is closed to new replies.