Home>Support>Change number of product categories in woocommerce shop

Change number of product categories in woocommerce shop

By zkagen, 7 years ago. Last reply by Alex S, 7 years ago.

Hi,
Woocommerce is by standard showing 3 product categories per row.
Is it possible to change that to say 4 or 5?

I have tried this:

But as suggested there might be some additional CSS needed.

Can You help?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 6 months ago zkagen

    Oups – this is the link to what I have tried: Stackoverflow

  2. 7 years, 6 months ago Alex S
    Hi, I Work Here

    This is a copy of my Premium support reply to Hans. The CSS in this post is for five columns.

    Hi Hans,

    You can change the column count with some custom CSS. If you navigate to AppearanceCustom CSS, you’ll get our custom CSS editor. Add the following CSS:

    .woocommerce #main ul.products li.product {
    	width: 18%;
    }
    
    ul.products li.first {
    	clear: none !important;
    }
    
    li.product {
    	margin-right: 2% !important;
    }
    
    

    You might also need to install the SiteOrigin CSS Editor.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More