• Working in WooCommerce directly under the product image on the product description template there exists a left sidebar containing tabs for description and comments. Is there a way to eliminate that entire left sidebar and in doing so create a 100% wide description section currently setting up on the right? New version WP new version WooCommerce.

    https://wordpress.org/plugins/woocommerce/

Viewing 3 replies - 1 through 3 (of 3 total)
  • If you’d like to remove the tabs, try these:

    add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
    
    function woo_remove_product_tabs( $tabs ) {
    
        unset( $tabs['description'] );      	// Remove the description tab
        unset( $tabs['reviews'] ); 			// Remove the reviews tab
        unset( $tabs['additional_information'] );  	// Remove the additional information tab
    
        return $tabs;
    
    }

    This removes the description (useing woo storefront theme)

    We are trying to have the tabs removed, still keeping the product description floating to the left , useing the area where the tabs took up the space.

    In other words, we are trying to have the product description go full width, with or without the main sidebar (not the tabs sidebar), without displaying the tabs.

    Manny users are selling product with a long describtion without needing the tab function, and that tab function takes awfull lot of space up.

    Useing this in CSS, removes the tabs:

    ul.tabs {display: none;}

    But description does not float left.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove left sidebar on product description template’ is closed to new replies.