Displaying 5 products per row, help please!
-
Hi there
I’m trying to show 10 products per page, with 5 products per row (2 rows in total per page).
I’ve inserted this code in my functions.php
// Change number or products per row to 3 add_filter('loop_shop_columns', 'loop_columns'); if (!function_exists('loop_columns')) { function loop_columns() { return 5; // 5 products per row } }
And then added this to my woocommerce.css:
.products ul, ul.products { width:675px; }
However, as you may see, they are not displayed correctly: link
Any help? Thanks a lot
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Displaying 5 products per row, help please!’ is closed to new replies.