Website Building » WooCommerce » How Do I Change the Layout in WooCommerce?

How Do I Change the Layout in WooCommerce?

Last updated on October 1, 2022 @ 7:19 pm

If you’re using WooCommerce to sell products on your WordPress site, you may want to change the default layout of your shop pages. By default, WooCommerce displays products in a grid layout with three products per row.

However, you can easily change this layout to display more or fewer products per row.

In order to change the layout of your WooCommerce shop pages, you’ll need to edit your theme’s code. Specifically, you’ll need to edit the archive-product.php file in your theme’s folder.

You can do this by going to Appearance > Editor from the WordPress dashboard. Once you’re in the editor, locate the archive-product.php file on the right hand side and click to open it.

Once you have the archive-product.php file open, you’ll need to find the line of code that says . This line of code determines how many products are displayed per row.

By default, it is set to , which displays three products per row. If you want to display four products per row, you would change this code to . You can also change it to display two or one product per row.

PRO TIP: If you are not familiar with code or are not comfortable working with code, we recommend that you seek help from a developer or designer. Making changes to your WooCommerce layout can be risky, and if done incorrectly, can break your site.

Once you’ve made your changes, be sure to save the file and upload it to your server. Your WooCommerce shop pages should now be displaying the number of products per row that you specified.

How Do I Change the Layout in WooCommerce?

If you want to change the layout of your WooCommerce shop pages, you’ll need to edit your theme’s code. You can do this by going to Appearance > Editor from the WordPress dashboard.php file open, locate the line of code that says .

By default, it is set to display three products per row. If you want to display four products per row, you would change this code four.

. You can also change it two or one product per row.

Once you’ve made your changes, be sure savethe file and upload it tto your server Your WooCommerce shop pages should now be displayingthe number of products per row that specified.

Madison Geldart

Madison Geldart

Cloud infrastructure engineer and tech mess solver.