Site logo

Archived topic

WooCommerce store displays errors

1 reply · Started by Eduardo Julian Barrios on February 25, 2016

Viewing posts 1–2 of 2

Hello!.
I am new to Wordpress,but using the theme of GP greatly facilitates learning. Thank you

Apologies for my terrible English . (Use Google Translate )

I created a shop with WooCommerce but I find these problems :
1. The buttons overlap
2. The buttons are not at the same level or height
3. The site of the store is set to " content (no sidebars ) " but do not take that change and continues to show the sidebar.

This happens to pc desktop or mobile.
The following picture shows the 3 problems:
Desktop overlap
Mobile Overlap

I hope their collaboration .

Hi there,

1. This is a WooCommerce design flaw. Options:
a) Increase your container width (Customize > Layout)
b) Change the amount of columns: https://docs.woothemes.com/document/change-number-of-products-per-row/
c) Remove the sidebar (see 3)

2. This is due to the product title being two lines vs one line.

3. This code should do it:

add_filter( 'generate_sidebar_layout','generate_custom_woocommerce_sidebar_layout' );
function generate_custom_woocommerce_sidebar_layout( $layout )
{
 	// If we are on a woocommerce page, set the sidebar
 	if ( is_woocommerce() )
 	 	return 'no-sidebar';

 	// Or else, set the regular layout
 	return $layout;

 }

Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/

Hope this helps :)

This archived topic is closed to new replies.