• Resolved fgjade

    (@fgjade)


    The product description seems to be part of the product tab; the tabs are misaligned – how can I fix them? I tried to simply hide the tabs but still display the product description with inserting the below into function.php but that took the tabs and the description away…how can I fix this?

    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;

    }

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • hannah

    (@hannahritner)

    Hey,
    You can hide the description tab with this css:

    li#tab-title-description {
        display: none;
    }

    Just paste that into your custom css box in Theme Options > Custom Advanced Settings.
    Hope that helps!

    Hannah

    Thread Starter fgjade

    (@fgjade)

    Thanks Hannah – I came right in the meantime – appreciate your help!

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

The topic ‘woocommerce_product_tabs’ is closed to new replies.