WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Removing columns in WooCommerce (1 post)

  1. hglf
    Member
    Posted 8 months ago #

    I'm hoping there is someone out there who can help me? Been bashing my head against WooCommerce for half a day now!

    I am using my own custom 960 24col grid that I want WooCommerce to conform to. Unfortunately I can't seem to turn off the default columns built into WooCommerce - is there a simple way to do it? I've tried editing the functions.php file in my template with this:

    // Change number or products per row to 1
    add_filter('loop_shop_columns', 'loop_columns');
    if (!function_exists('loop_columns')) {
    function loop_columns() {
    return 1; // 1 product per row
    }
    }

    but it isn't working for me.

    Ideally I'd just like to have 1 column so I can resize dynamically - but this is proving difficult impossible currently!

    Many thanks!

    http://wordpress.org/plugins/woocommerce/

Reply

You must log in to post.

About this Plugin

About this Topic