WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WooCommerce] Different columns on shop and catagory pages! (1 post)

  1. Murray644
    Member
    Posted 1 year ago #

    So I was able to change the amount of columns for my shop by addinng this code:

    global $woocommerce_loop;
    $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:
    http://perfectlyimperfectme.com/shop/

    This is a category page- the one I am having trouble with look at the images how they are listed:
    http://perfectlyimperfectme.com/product-category/teacher-templates/

    Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic