Home Forums WoodMart support forum How to display the description in big page on pc

How to display the description in big page on pc

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

    benmuminov
    Participant

    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
    Participant

    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
    Participant

    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
    Participant

    it will only remove “additional information”?

    #325866

    Luke Nielsen
    Keymaster

    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)