Welcome! To use this support forum, please Login or Join Today!

   

WooCommerce - number of product columns

{name}
Rank

Total Posts: 16

Joined 2016-05-20

PM

 

Hi Casey,

I’ve added the WooCommerce capability and that’s working well, thank you.

http://77.104.139.216/~beesacro/

However the Shop page comes up with just 3 columns of product.  It looks as though room has been left for a sidebar (which would suit me fine) but the sidebar does not show up.

Is it possible
a) to have the same sidebar as the home page,
or
b) to change the number of columns of product displayed, so that the page does not look lopsided?

Thanks,
Ben

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 

Hi, the child theme registers and loads a newly registered shop-specific sidebar location in woocommerce.php:
https://github.com/simplethemes/mobius-woocommerce/blob/master/woocommerce.php#L21-L23

To load the Posts sidebar, you could change those three lines to:

get_sidebar();

or to load the Page sidebar.

get_sidebar('page');

Additionally, you could create a custom sidebar-slug.php file and load it with:

get_sidebar('slug');

I hope this helps.

 

{name}
Rank

Total Posts: 16

Joined 2016-05-20

PM

 

Casey, that does help, thank you.  I hadn’t even noticed that there was a new Shop sidebar in the widget area!