This topic has 6 replies, 2 voices, and was last updated 6 years, 9 months ago ago by Rose Tyler
Dear Support,
Woocommerce gives the possibility to setup a shop page where all categories are displayed. I identified the shop page for my website (/shop/) however I would like to ask the following:
1) is there the possibility to hide the default widgets from this page only?
2) if yes, could I replace the widget column with an additional categories’ column?
I have widgets such as price, color filters which do not make much sense if in the shop page I have only the categories displayed.
Please let me know if I can do something about it.
Best regards.
F.
Hello,
You may change “Shop page display” settings in Customize > WooCommerce > Product Catalog. Widgets that are shown in the sidebar on shop page, and pages that inherit layout of Shop, you may change in Appearance > Widgets > Shop sidebar.
To disable the sidebar only on shop page, you may use this custom css code:
.post-type-archive .sidebar {
display: none;
}
.post-type-archive .content {
width: 100%;
margin-left: 0;
}
Regards
Dear Rose,
Thank you for the css code. Shall I insert it into the custom.css file part of the main theme?
I’ve tried to do so in my local machine, however i do not see any effect…
Please let me know.
F.
I fixed it, no worries.
Thanks.
F.
Hi Rose,
I thought to have fixed it by adding to the css code “important!” (in the custom.css file) however, I realized that no changes are visible if I am logged out from wordpress.
Could you please tell me if I am doing something wrong?
F.
Hello,
Please change the previous code to this one:
.post-type-archive .sidebar, .page-id-6 .sidebar {
display: none !important;
}
.post-type-archive .content, .page-id-6 .content {
width: 100% !important;
margin-left: 0 !important;
}
Regards
Tagged: #legenda, shop, theme, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up