Home Forums WoodMart support forum Can the number of thumbnails for Single product be adjusted? Reply To: Can the number of thumbnails for Single product be adjusted?

#401029

Luke Nielsen
Keymaster

Hello,

It can be adjusted only for the horizontal carousel.

https://prnt.sc/y5CEH0OFGHId

After enabling it, enter the below code to the functions.php file in your child theme.

add_filter(
    'woodmart_product_gallery_settings',
    function() {
        return array(
			'thumbs_slider' => array(
				'items'     => array(
					'desktop'          => 6,
					'tablet_landscape' => 3,
					'tablet'           => 4,
					'mobile'           => 3,
					'vertical_items'   => 3,
				),
			),
		);
    }
);

Keep me informed of any issues.

Kind Regards