Home Forums WoodMart – Premium Template How to display the description in big page on pc

This topic contains 7 replies, has 3 voices, and was last updated by Luke Nielsen Luke Nielsen 6 days ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #324994

    benmuminov
    Customer

    It displays only one part and then you have to scroll a lot with the mouse, how to make it display in big size

    Attachments:
    You must be logged in to view attached files.
    #325037

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    body .tabs-layout-accordion .wd-scroll-content {
        max-height: 100%;
    }

    Best Regards

    #325217

    benmuminov
    Customer

    Thank you! Now for this, I still can’t remove “additional information”.

    Attachments:
    You must be logged in to view attached files.
    #325290

    Hello,

    You will have to either switch to the tabs so that I could give you the code or remove the attributes from the product page. The tabs have all the same class and we cannot hide them with custom CSS.

    If you have any questions please feel free to contact us.

    Best Regards

    #325374

    benmuminov
    Customer

    Can you send me the code please?

    #325384

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    .woocommerce-tabs.tabs-layout-accordion .wd-tab-wrapper:nth-child(3) {
    	display: none;
    }

    Best Regards

    #325387

    benmuminov
    Customer

    it will only remove “additional information”?

    #325866

    Hello,

    In order to remove the “Additional information” tab, try to add this code to the functions.php file in your child theme.

    if ( ! function_exists( 'wd_single_disable_additional_tab' ) ) {
    	/**
    	 * Disable single product additional_tab.
    	 *
    	 * @param array $tabs Tabs array.
    	 * @return array
    	 */
    	function wd_single_disable_additional_tab( $tabs ) {
    		unset( $tabs['additional_information'] );
    
    		return $tabs;
    	}
    
    	add_filter( 'woocommerce_product_tabs', 'wd_single_disable_additional_tab', 105 );
    }

    Kind Regards

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

You must be logged in to reply to this topic.