BuddyBoss Home – Web Support Forums Themes Boss. theme Shop Page layout

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Question

    #54243
    @rentahost

    I attached what it currently looks like. How can I change it so the shop page has 2 or 3 products per row evenly spaced and centered on the page.

    Answers

    #54282
    @vapvarun

    Hi @rentahost

    Add following to functions.php of the child theme

    
    // Change number or products per row to 3
    add_filter('loop_shop_columns', 'loop_columns');
    if (!function_exists('loop_columns')) {
    	function loop_columns() {
    		return 3; // 3 products per row
    	}
    }
    

    or you can also play with https://wordpress.org/plugins/woocommerce-product-archive-customiser/

    Regards
    Varun Dubey

Viewing 2 posts - 1 through 2 (of 2 total)
  • The question ‘Shop Page layout’ is closed to new replies.