Woocommerce shop - Sidebar

Hi there,

just create a webshop with woocommerce, but the sidebar will not leave.

Would you help me out?

cheers!

Hi @jolinekool,

I hope you are well today and thank you for your question.

You can try achieving this by adding the following CSS code in the Custom CSS option of your theme on the below path.

Admin Area -> Appearance -> Customize -> Shapely Options -> Other


body.post-type-archive-product div#primary {
    width: 100%;
}
body.post-type-archive-product aside#secondary {
    display: none;
}

Best Regards,
Movin

Tnx! what do i need to add to make it also work for Cart & other woocommerce standard pages?

You can use below CSS code to make it work on all woocommerce pages.

body.woocommerce div#primary {
    width: 100%;
}
body.woocommerce aside#secondary {
    display: none;
}

unfortunately it does not work…

Try using the below CSS code instead.

body.woocommerce-page div#primary,
body.woocommerce div#primary {
    width: 100%;
}
body.woocommerce-page aside#secondary,
body.woocommerce aside#secondary {
    display: none;
}

like a charm, tnx!

You are most welcome here :slight_smile: