Is there a way to remove the sidebar from the product pages?
Is there a way to remove the sidebar from the product pages?
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
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
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;
}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.
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%}
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?
You must log in to post.