Archived topic
Hide Woocommerce shop page sidebar only
3 replies · Started by nanoprobes on December 26, 2020
I know there is a way to remove the side bar from all the Woocommerce shop pages in the customizer but is there a way to remove the sidebar on just the /shop page with this theme? If I edit that page directly and choose no sidebar from the side bar layout option, it still shows. Right now my shop page is set to show categories and a sidebar category widget which I cannot seem to get off that page only. Thank you.
Hello there,
We could achieve this by using a layout element.
https://docs.generatepress.com/article/layout-element-overview/
1. For sidebar layout, choose content (no sidebar).
2. For display rules > location, choose product archives.
If you'd like the product category archive page and product tag archive page also to show no sidebar, make sure choose these two as well.
Let me know :)
That worked. Thank you Ying
You are welcome :)