WordPress.org

Forums

WooCommerce - excelling eCommerce
Remove Sidebar from product Page (7 posts)

  1. emike09
    Member
    Posted 5 months ago #

    Is there a way to remove the sidebar from the product pages?

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

  2. mariaarty
    Member
    Posted 5 months ago #

    there is a problem with the sidebar in the product pages they show under the products not on the side like it should be i had this problem and i finally found the fix
    There's a clear div that is messing up with the layout. Please try this on your custom.css

    .container .clear { clear: none;}

    or if you wanted to remove the sidebar at all from these pages then write this instead:

    .woocommerce #sidebar{display:none;}

    both worked for me, i hope they work for you

  3. carlosgalvao
    Member
    Posted 5 months ago #

    I'm having the same problem in my website http://www.babyplusbrasil.com.br (http://www.babyplusbrasil.com.br/loja/babyplus-sistema-de-educacao-pre-natal/).
    I've tried mariaarty's suggestions but it didn't work.

    Any other way to fix that?

    Tks a lot.

    Carlos Galvao

  4. samueljeden
    Member
    Posted 5 months ago #

    carlos, your issue is your theme limiting the width of the single page (outside of woocommerces hands)

    #home-content, #content {
    width: 645px;
    margin: 0 10px;
    }
  5. carlosgalvao
    Member
    Posted 5 months ago #

    Yes, Samuel, but where I can change the product page? There's no page layout option in it, likewise every other editable pages in my wordpress. If I just remove the side bar, I would gain more space and have this problem no more. Any hint? I can't change my theme in this stage of the project.

  6. bheadrick
    Member
    Posted 5 months ago #

    use template files

    also, it's actually better to use this to remove the woo sidebar:

    remove_action('woocommerce_sidebar', 'woocommerce_get_sidebar',10);

    of course, you'd also need to fix your css as samuel mentioned like this:

    .woocommerce #content{width:100%}

  7. Killertron
    Member
    Posted 2 months ago #

    Hi I am very new to coding and have been having the same issues with my site that uses the Crafty Cart theme http://www.kixclothing.com/clothingstore

    How do I fix this?

Reply

You must log in to post.

About this Plugin

About this Topic