SEO issue - Multiple H1 tags detected in Palo Alto theme - But only 1 H1 header

Topic summary

A Palo Alto theme user discovered duplicate H1 tags during SEO audits despite having only one visible H1 header on their pages.

Root Cause Identified:

  • The store’s logo in the header was wrapped in an H1 tag
  • This created an “empty” H1 tag since the logo is an image without text
  • The duplicate H1 appeared across all pages, including collection pages

Solution Provided:

  • Change the logo’s H1 tag to H2 in the header.liquid file
  • One contributor noted this is a theme bug that should be reported to theme support
  • The original poster confirmed the fix worked

Follow-up Question:
The user asked whether H2 or H3 would be better for the logo tag, though this remains unanswered. The discussion includes screenshots demonstrating the issue and the code location where the fix should be applied.

Summarized with AI on November 4. AI used: claude-sonnet-4-5-20250929.

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

Screenshot 2024-10-26 at 11.52.56 am.png

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.

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

1 Like

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 :slightly_smiling_face:

1 Like

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