Home › Forums › WoodMart support forum › Change number of columns for product categories › Reply To: Change number of columns for product categories
May 11, 2020 at 6:36 am
#193984
Elise Noromit
Member
Hello,
Please add this code to the functions.php of the child theme:
add_filter('woodmart_categories_shortcode_custom_sizes',
function() {
return array(
'desktop' => 8,
'tablet_landscape' => 4,
'tablet' => 4,
'mobile' => 4,
);
}
);
Please note this change would be applied to all the categories carousel. Unfortunately, it is not possible to make it individually.
Best Regards