Products columns of woocommerce

Dear Sir,

Installed Sydney pro which wonderful theme.

Would you please tell me for adding to products columns.
Sydney pro is only 3 columns, but other woocommerce themes copes with 4 and or 5 columns by WooCommerce Products Per Page of Plugin.

Dear Takashi,

To change the product archive column into 4, try to add the following function into the theme’s functions.php file.

add_filter('loop_shop_columns', 'loop_columns');
if (!function_exists('loop_columns')) {
	function loop_columns() {
	  return 4; 
	}
}

If it possible, I’d suggest you to pass it in the child theme mode. so the changes you have made won’t be overridden once updating the theme in the future.

I hope this reply helps.

Regards,
Kharis

Hi Kharis,

Thank you for you replay.

I used on child theme which full with of woocommerce for your comment #135357.

First, changed to themes on Sydney pro, I have tried adding your function on functions.php of Sydney Pro Parent, but pics is 4 column size with not full with. Could you tell me method of full with of woocommerce at Sydney pro ii.

Please check my site!

woocommercesite is here!

Hi Kharis,

I tried adding on function.php of child theme, same pics size of 3 column size with 2 pics with 1 blank(3 column). ???

Dear Takashi,

I would like to apologize in advance for delayed respond.

By default, the product item width is set to 30.8% of the container. If you want to have 4 columns, you should make an adjustment. Try to apply the following CSS code through the Simple Custom CSS plugin.

@media only screen and (min-width: 769px){
  
  .woocommerce .content-area ul.products li.product, 
  .woocommerce-page .content-area ul.products li.product {
    width: 22.12% !important;
  }  
  
}

Regards,
Kharis

Hi Kharis,

Good!

Thank you for your lot of assistance.