How to enable H heading tags in product descriptions

This topic has 11 replies, 3 voices, and was last updated 8 years, 7 months ago ago by organics

  • Avatar: organics
    organics
    Participant
    September 6, 2015 at 16:11

    In the past I have asked how to remove or change the phrase “Product Description”. I have a feeling you disabled all H tags in the product description area. However this is no good for SEO or page formatting.

    Please tell me how to enable H tags in the product description (without needing to show your default text- surely that can just be deleted).

    Please, contact administrator
    for this information.
    10 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 7, 2015 at 07:17

    Hello,

    The code <h2>Product Description</h2> is related to product tabs. Do you want to make it visible again?

    Best regards,
    Jack Richardson.

    Avatar: organics
    organics
    Participant
    September 7, 2015 at 10:04

    I do not want that visible again. Can I not edit the theme to exclude that? It is showing as invisible text at the moment when viewing page as source, which is bad SEO practice.

    I would like to remove that but have the freedom to add my own H tags wherever I like. Is this not possible?

    Surely somewhere in the theme files we can remove that H Tag (even if the tag stays but I delete the text would be better than having hidden text on the page).

    I would be happy to do it manually each time the theme is updated if you tell me which file to edit.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 7, 2015 at 11:37

    Hello,

    In this case you need edit the file wp-content/themes/idstore/woocommerce/single-product/tabs/description.php and remove the code <h2><?php echo $heading; ?></h2>.

    Best regards,
    Jack Richardson.

    Avatar: organics
    organics
    Participant
    September 7, 2015 at 11:59

    OK, thanks Jack. That has removed the hidden H2 tag PRODUCT DESCRIPTION. But my own H2 tags are still invisible.

    Can you please answer the original question: how can I enable Heading “H tags” inside the product description area? Like in the url I gave you where the H2 tag I created is hidden.

    I have added my custom.css text in the private box below in case that helps.

    I tried deleting
    .single-product .tab-content h2 {display:none} but that didn’t work.

    Thank you.

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    September 7, 2015 at 19:49

    Hello,

    Please specify the text you added with h2 tags. Is it in tabs content?
    Please clarify what text it is.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: organics
    organics
    Participant
    September 8, 2015 at 05:16

    Please look at the private content where I explain with 2 example pages and have created a new page to illustrate that the H Tags work fine on Pages but not within the Product Description areas.

    Thank you.

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 8, 2015 at 07:14

    Hello,

    Please add this code in custom.css file:

    .tab-content h3 {
       font-size: 19px !important;
    }

    How to create custom.css you can watch in this tutorial (it’s for Legenda theme but the process is the same).

    Best regards,
    Jack Richardson.

    Avatar: organics
    organics
    Participant
    September 8, 2015 at 07:48

    Thanks Jack, but I am afraid that didn’t work on either H2 or H3 tags. Any other ideas how I can get H Tags to appear properly in the product pages of the theme?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 8, 2015 at 09:08

    Hello,

    Tabs are created by Woocommerce and you should refer to their support regarding this issue. Also please check if tabs content works properly with default WordPress theme (Twenty Fifteen, for example).

    Best regards,
    Jack Richardson.

    Avatar: organics
    organics
    Participant
    September 8, 2015 at 09:33

    🙁

  • Viewing 11 results - 1 through 11 (of 11 total)

The issue related to '‘How to enable H heading tags in product descriptions’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.