Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi,
I use the Palo Alto theme. Even though I only have 1 H1 header, an 'empty' H1 header is detected during SEO audits.
Is there a way to remove this empty H1? See the attached screenshot, which shows the issue.
See this page as an example: https://securitybase.com.au/collections/other-security-essentials/products/webcam-cover-3
Cheers, Nick
Solved! Go to the solution
This is an accepted solution.
Hello @nickadl
I hope this message finds you well.
Upon checking, I noticed that the duplicate H1 tag is applied to your store’s logo. You can view this here: [screenshot](https://prnt.sc/7q676b4iusHX).
To resolve this, I recommend changing the H1 tag to an H2 tag. Typically, the H1 tag for the logo can be found in the *header.liquid* file, though the location may vary depending on the theme.
I hope this helps!
Best regards,
Daisy
This is an accepted solution.
Your first H1 is your logo image in header, it has no text and that's why reported as "empty".
This can be fixed by a simple theme code edit, but can't suggest without seeing the code.
Sometimes themes have it as H1 on homepage only, but, say, H2 elsewhere -- because other pages has main object (like product on product page, etc.). In your case it's collection page, which is strange.
Also, you may reach out to the theme support -- I'd consider it a bug they should fix.
Unless you have the latest version, they may say "upgrade to the latest" which may be difficult if you have code edits...
Update: Nope, their theme demo shop also has H1 logo on all pages.
I'm in Adelaide too 🙂
This is an accepted solution.
Hello @nickadl
I hope this message finds you well.
Upon checking, I noticed that the duplicate H1 tag is applied to your store’s logo. You can view this here: [screenshot](https://prnt.sc/7q676b4iusHX).
To resolve this, I recommend changing the H1 tag to an H2 tag. Typically, the H1 tag for the logo can be found in the *header.liquid* file, though the location may vary depending on the theme.
I hope this helps!
Best regards,
Daisy
That worked, thanks Daisy! Can I also make it an h3 header, or is it better to make it an h2 header? Or doesn't it make a difference?
Cheers, Nick
This is an accepted solution.
Your first H1 is your logo image in header, it has no text and that's why reported as "empty".
This can be fixed by a simple theme code edit, but can't suggest without seeing the code.
Sometimes themes have it as H1 on homepage only, but, say, H2 elsewhere -- because other pages has main object (like product on product page, etc.). In your case it's collection page, which is strange.
Also, you may reach out to the theme support -- I'd consider it a bug they should fix.
Unless you have the latest version, they may say "upgrade to the latest" which may be difficult if you have code edits...
Update: Nope, their theme demo shop also has H1 logo on all pages.
I'm in Adelaide too 🙂
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024