-
-
I’m using the Specular theme and WooCommerce. I recently updated both to the latest versions. Then I added 5 new products to one category. This broke the display of products on the category page by taking it from 3 products per row to 2; but two products left aligned, then the next row has 2 right aligned. If I switch to 2019 theme it displays correctly. It doesn’t seem to matter which category it is, or how many products are in the category. If I add a new product, any category I assign it to will break. I can’t figure out why this is happening. Any suggestions are appreciated.
-
Hi,
Sorry, but I can’t help you without sharing a link or a screenshot. Also, give WP credentials so we will fix it directly.
Thanks
-
-
Hi,
try to add this code on functions.php
add_filter('loop_shop_columns', 'codeless_custom_loop_columns', 999); if (!function_exists('codeless_custom_loop_columns')) { function codeless_custom_loop_columns() { return 3; // 3 products per row } }
Thanks
-
This works on the category pages but also changes my shop page. On the shop page I want 4 products per row as I don’t have a sidebar on the shop page. Can I keep 4 products/row on the shop page and do 3 per row on the category pages?
-
-
You must be logged in to reply to this topic.