Increase in No of Thumbnail images
-
Hey Woodmart Team,
How Can I increase the number of thumbnail images on desktop as well as mobile. I need 5 images. I have very less knowledge of PHP. Please guide me step by step on how to change it.
Regards,
Sanchit Modi
Hello,
Please, provide us a screenshot of this problem for better understanding. Where exactly do you want to increase this number?
Kind Regards
The number of thumbnails is only 3 on mobile and I need minimum 5. Same for desktop, need minimum 5. How Can I increase that?
Attachments:
You must be
logged in to view attached files.
Try to add the following PHP code snippet to the child theme functions.php file to do this
add_filter(
'woodmart_product_gallery_settings',
function() {
return array(
'images_slider' => woodmart_is_main_product_images_carousel(),
'thumbs_slider' => array(
'enabled' => woodmart_is_product_thumb_enabled(),
'position' => woodmart_get_opt( 'thums_position' ),
'items' => array(
'desktop' => 5,
'tablet_landscape' => 3,
'tablet' => 4,
'mobile' => 3,
'vertical_items' => 3,
),
),
);
}
);
Can you please provide the complete contents for style.css sheet? I am making a child theme first so please provide me the details of style.css
We have moved your reply to a new topic and it will be answered by our staff soon.