If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #12705


    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!



    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.




    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.



    Try to add this on your custom.css

    .shop_columns_3 .products .product {
    margin: 0 4% 20px 0;
    width: 46%;





    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/ (Purchase code hidden if logged out) -columns/



Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Change number of columns in Woocommerce shop’ is closed to new replies.