- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
WooCommerce. How to remove sidebar from product category page and make it fullwidth
December 3, 2015
This tutorial will show you how to remove the sidebar from the product category page and make it fullwidth in Woocommerce.
WooCommerce. How to remove sidebar from product category page and make it fullwidthBy default, the product category page has a right sidebar that comprises 25% of the page content width:
In order to remove the sidebar and make the page fullwidth, we’ll need to make changes in the tm-close-wrapper.php and tm-open-wrapper.php files. You can use either FTP manager tool or File manager of your control panel to make the necessary changes. Please do the following steps:
-
Open up the wp-content/themes/themeXXXXX/woocommerce/tm-close-wrapper.php file in a code editor (like Notepad++ or Sublime Text). Remove the following code:
-
Save the changes to the tm-close-wrapper.php file and upload it to the server.
-
Open up the wp-content/themes/themeXXXXX/woocommerce/tm-open-wrapper.php file in a code editor. Find the following code:
""
And replace it with:
"span12"
-
Save the changes to the tm-open-wrapper.php file and upload it to the server.
-
Reload the product category page. Now the sidebar is removed from it and its layout is fullwidth:
Feel free to check the detailed video tutorial below:
WooCommerce. How to remove sidebar from product category page and make it fullwidth