Hi,
I would like to change the number of columns in the woocommerce shop from the current 3 to 2. I would guess I am not the first one wanting to do this but I can't find any exisiting thread.
In advance, thanks!
Carl
Hi,
I would like to change the number of columns in the woocommerce shop from the current 3 to 2. I would guess I am not the first one wanting to do this but I can't find any exisiting thread.
In advance, thanks!
Carl
Hi Carl,
As far as I know there isn't an easy way to accomplish this without some heavy modification to the theme files. I'll put in a feature request for choices in column count as it would need some additional code in the core files to even be doable.
Regards,
Devin
I have been looking for this exact solution. If you could even leave directions on how this can be accomplished, that would be great. Please help.
Hi,
Try to add this on your custom.css
.shop_columns_3 .products .product {
margin: 0 4% 20px 0;
width: 46%;
}
Regards,
Ismael
Hi,
One of Woo developers says to do this: (paste the code in your fuctions.php file)
add_filter ( 'woocommerce_product_thumbnails_columns', 'zz_thumb_cols' );
function zz_thumb_cols() {
return 5; //Change the 5 to reflect how many columns you need
}
Reference: http://chromeorange.co.uk/woocommerce-set-number-of-thumbnail-columns/
Thanks,
Nick
You must log in to post.