So I was able to change the amount of columns for my shop by addinng this code:
$woocommerce_loop[‘columns’] = 3;
Which changed my shop columns to 3 columns which is what I wanted!
However, I only want my shop main page to have 3 columns- I want my category pages to only have 2 columns as I have a sidebar on those pages.
Yes, the columns do adjust to the width so there is 2 columns but what is happening is my products are listing so that there is 2 items on a line then 1 item, then 2 items, then 1 item etc… I think it it still trying to space into 3 columns.
It’s driving me crazy as it looks horrible!
You can view my test site:
This is shop home page with 3 columns:
This is a category page- the one I am having trouble with look at the images how they are listed:
- The topic ‘[Plugin: WooCommerce] Different columns on shop and catagory pages!’ is closed to new replies.