Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello,
On my product pages the h1 is automatically duplicated in h2.
I deleted this piece of code, is it good for SEO or would it be better to just change it to <p>?
If anyone knows what this h2 is for, I'd like to know.
Thanks in advance
I think it's useless as product.title is available in the h1 tag.
Also I suggest removing the anchor tag too which wraps the <h2> tag there is no need for it.
Hello @Guleria thank you for your reply.
But what is this h2 for?
Is it an anchor or something else?
I deleted the piece of code highlighted on the image.
I've looked at other themes and there's no <h2> or <p> at that level, so I don't know why the developers added it.
hello, we also deleted the highlited text and now our H1 has no H2 copy 🙂
<h2 class="h1">
{{ product.title | escape }}
</h2>
It worked 🙂
but what do you suggest to delete too? can you highlite it please?
Thank you 🙂
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025