Home › Forums › Support › Disabling Sidebar on WooCommerce Cart Page This topic has 5 replies, 2 voices, and was last updated 4 years ago by Leo. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts March 22, 2019 at 6:26 pm #847073 Josh Hi, we’ll be replacing the GP Woocommerce Cart page with an Elementor designed page. In the meantime we’d like to remove the default sidebar. I don’t see anything in the Customize menu to handle this. Do you have an elegant solution? ๐ Thanks GeneratePress 2.2.2GP Premium 1.7.8 March 22, 2019 at 6:33 pm #847075 LeoStaff Customer Support Hi there, You should be able to use this filter: https://docs.generatepress.com/article/sidebar-layout/#using-a-function And this conditional tag: https://docs.woocommerce.com/document/conditional-tags/#section-8 Adding PHP: https://docs.generatepress.com/article/adding-php/ Let me know if this helps ๐ Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ March 23, 2019 at 3:00 pm #847759 Josh Thanks Leo..looked around on your links and ended up using this in Code Snippets: add_filter( 'generate_show_default_sidebar_widgets', '__return_false' ); https://docs.generatepress.com/article/generate_show_default_sidebar_widgets/ That will do for now until we style up the new pages March 23, 2019 at 3:42 pm #847778 LeoStaff Customer Support Not sure why you would do that instead. Glad you found a solution though. Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ March 24, 2019 at 3:56 am #848070 Josh >>Not sure why you would do that instead. I never use the theme sidebars on my sites. For any site pages or posts that call for sidebars, I use Elementor sections that are split into Content / Sidebar columns…. then I build both columns out with inner sections. March 24, 2019 at 6:09 am #848137 LeoStaff Customer Support That case you can disable the theme sidebar globally in the customizer: https://docs.generatepress.com/article/sidebar-layout/ Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In