WooCommerce store displays errors

Home Forums Support WooCommerce store displays errors

This topic contains 1 reply, has 2 voices, and was last updated by  Tom 3 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #175064

    Eduardo Julian Barrios

    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 .

    #175066

    Tom Lead Developer

    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 🙂

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.