Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #22142

    Please see this page: http://goo.gl/fXrk1

    How can I change the H1 tag for the Product Attributes verbiage and/or remove it altogether? The tab already shows as “Product Attributes” but it is duplicated inside the content of the tab.

    Thanks.

    #114356

    Hi ehong33234,

    It looks like you removed the tab already. Do you still need to change that?

    Regards,

    Devin

    #114357

    Yes, please help with this Devin. I temporarily disabled it (display:none) but now I need it active again.

    Thanks!

    #114358

    Hi!

    Try to add following code to the bottom of functions.php:

    add_filter( 'woocommerce_product_tabs', 'woo_remove_heading_tab', 98);
    function woo_remove_heading_tab($tabs) {
    $tabs['additional_information']['title'] = '';
    return $tabs;
    }

    Regards,

    Peter

    #114359

    Hi Peter, unfortunately that didn’t work either so I restored to previous. Please check the shop page to see if it will help: http://goo.gl/Ow9x4

    Thank you.

    #114360

    The tab as is right now:

    <div class="panel entry-content" id="tab-shortdescription" style="display: block;">
    <h2>Short Description</h2>
    Pre and post workout protein drink for fast absorption.
    </div>

    So if you wanted to quickly remove it you can use:

    #tab-shortdescription h2 {
    display: none;
    }

    Regards,

    Devin

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

The topic ‘Product Attributes Tab – Duplicate and H1 Heading Issue’ is closed to new replies.