Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1112129
    alan
    Participant

    Hi,

    Can you tell me how I can remove the ‘Product description’ headline from within the tab on the product pages (or replace with something else).

    I’ve tried the following code which I found on another thread, but it didn’t work:

    .single-product #tab-description h2 {
    display: none;
    }
    #1112175
    Rupok
    Member

    Hi there,

    Thanks for writing in! The above code seems right and should work. Let’s check other codes and make sure all codes are closed properly and not interfering with this.

    If you still face this; let’s provide your URL so that we can have a closer look.

    Cheers!

    #1112283
    alan
    Participant
    This reply has been marked as private.
    #1112295
    Thai
    Moderator

    Hi There,

    Please try with this CSS instead:

    .single-product .description_pane h2 {
        display: none;
    }

    Regards!

    #1112852
    alan
    Participant

    Works perfectly. Thank you!

    #1113142
    Prasant Rai
    Moderator

    You are most welcome. 🙂

    #1127631
    alan
    Participant

    Another related question; how do I name the “Description” tab something else? I.e. if I wanted to name the tab “Video”?

    Thank you

    #1128038
    Friech
    Moderator

    Hi There,

    You can add this under Custom > JavaScript in the Customizer.

    jQuery(".woocommerce-tabs .x-nav-tabs .x-nav-tabs-item:first-child a").text(function(index, text) {
    	return text.replace('Description', 'Video');
    });

    Hope it helps, Cheers!

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