Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1148800
    kshiba
    Participant

    Hello!

    Can you help me remove the “product description” header on the Description tab of the woocommerce product page? I looked through the forum and found this suggested to add to the custom css:
    .single-product #tab-description h2 {
    display: none;
    }

    Unfortunately, it didn’t remove the “product description”. I’m creating a variable product.

    URL: http://www.begenki.org
    Wordpress version: 4.5.3
    Cornerstone version: 1.3.0

    Your assistance is greatly appreciated.
    Thank you!
    Katrina

    #1149188
    Friech
    Moderator

    Hi Katrina,

    Thanks for writing in! Would you mind pointing us to your shop page, so we can take a closer look.

    In the meantime navigate to Customizer > WooCommerce panel and turn off the Description Tab option.

    Cheers!

    #1149267
    kshiba
    Participant
    This reply has been marked as private.
    #1149326
    Darshana
    Moderator

    Hi there,

    Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.

    Then add the following code into your child theme’s functions.php file.

    
    add_filter( 'woocommerce_product_description_heading', 'remove_product_description_heading' );
    function remove_product_description_heading() {
      return '';
    }
    

    Make sure to activate your child theme by head over to Appearance -> Themes area within your WordPress backend.

    Thanks!

    #1149660
    kshiba
    Participant
    This reply has been marked as private.
    #1149705
    Thai
    Moderator

    Hi There,

    I was able to fix the issues.

    Please note that you don’t have to copy all the code from the functions.php file in the parent X theme to child theme.

    Regards!

    #1153755
    kshiba
    Participant

    Thank you so much!

    #1153772
    Prasant Rai
    Moderator

    You are most welcome. 🙂

    #1158720
    kshiba
    Participant

    Hi again!

    I’ve added a tab for additional information but when I click on that tab, the description information is no longer accessible. I think this is because I deleted the “Product Description” header so there’s nothing to click on. Can you help me fix this? Deleting the code you provided above messes the page formatting.

    Thank you!

    #1158956
    Nabeel A
    Moderator

    Hi there,

    I checked this page https://www.cowgirlsandlace.com/shop/tyler-wash/ and I’m able to access the Description Tab after clicking on Additional Information tab. providing us with a little more clarification on what it is you’re wanting to do so we can take a look?

    Thanks!

    #1158968
    kshiba
    Participant
    This reply has been marked as private.
    #1159325
    Rad
    Moderator

    Hi there,

    Please remove this custom CSS,

    .description_tab {
        display: none;
    }

    Thanks!

    #1159718
    kshiba
    Participant

    Thank you again!

    #1159800
    Thai
    Moderator

    You’re most welcome 🙂

  • <script> jQuery(function($){ $("#no-reply-1148800 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>