Quote Originally Posted by keneso View Post
I recall DrByte strongly suggested not to mess with that line (around 400 correct?), and to edit in case the lines around 180

PHP Code:
        // set css classes for "row" wrapper, to allow for fluid grouping of cells based on viewport
        // these defaults are based on Bootstrap4, but can be customized to suit your own framework
        
if ($product_listing_layout_style === 'fluid') {
            
$grid_cards_classes 'row-cols-1 row-cols-md-2 row-cols-lg-2 row-cols-xl-3';
            
// this array is intentionally in reverse order, with largest index first
            
$grid_classes_matrix = [
                
'10' => 'row-cols-1 row-cols-md-2 row-cols-lg-4 row-cols-xl-5',
                
'8' => 'row-cols-1 row-cols-md-2 row-cols-lg-3 row-cols-xl-4',
                
'6' => 'row-cols-1 row-cols-md-2 row-cols-lg-2 row-cols-xl-3',
            ]; 
Thanks, @keneso, that's exactly what I was going to suggest. FWIW, products' listings with this template are best rendered either in row or fluid mode, since setting specific column widths doesn't play well with bootstrap's 'card' layouts.