This topic has 11 replies, 3 voices, and was last updated 9 years, 2 months ago ago by organics
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).
Hello,
The code <h2>Product Description</h2>
is related to product tabs. Do you want to make it visible again?
Best regards,
Jack Richardson.
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.
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.
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.
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.
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.
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.
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?
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.
🙁
Tagged: descriptions, enable, h tags, heading, product, woocommerce, wordpress
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