Website Building » WooCommerce » How Do I Move the Sidebar to the Left in WooCommerce?

How Do I Move the Sidebar to the Left in WooCommerce?

Last updated on October 1, 2022 @ 6:10 pm

There are a few simple steps to take in order to move the sidebar to the left in WooCommerce. First, you need to access your theme files.

In the WordPress Dashboard, go to Appearance > Editor. On the right hand side, you will see a list of files that make up your theme. Find the one titled Sidebar.php and click on it.

PRO TIP: If you are using the WooCommerce plugin for WordPress, there is a setting to move the sidebar to the left. This can be found in the WooCommerce settings under the “Layout” tab.

However, before you make this change, please be aware that it may impact the layout of your pages and posts. Make sure to test this setting on a few pages and posts before making the change on your live site.

Next, you need to find the line of code that begins with “if ( is_active_sidebar( ‘shop’ ) )”. This line of code is what tells WordPress where to place the sidebar on your WooCommerce pages.

By default, it is set to display on the right hand side. To change it to the left, simply change “Right” to “Left”.

Once you have made this change and saved your file, the sidebar will now display on the left hand side of your WooCommerce pages!

Madison Geldart

Madison Geldart

Cloud infrastructure engineer and tech mess solver.