Need to add H1 tag to rich text on homepage

Topic summary

A Shopify store owner using the Spark theme wants to improve SEO by restructuring H1 tags on their homepage. They face two challenges:

Current Issues:

  • The H1 tag is currently wrapped around the header logo; removing it also removes the logo itself
  • Need to convert an H2 tag in a rich text section to H1 after resolving the logo issue

Proposed Solutions:

  • One responder offers to help if the theme’s Liquid code is shared
  • Another suggests the theme code has likely been modified from its original state, as the default Spark theme doesn’t wrap H1 around the logo
  • The original theme.liquid file contains: <h1 style="display:none">{{shop.name}}</h1> for the homepage

Recommended Next Steps:

  • Search for “h1” in theme.liquid to locate all H1 tags
  • Compare current code with the original theme version to identify modifications
  • Consider reverting to or adapting the original H1 implementation

The discussion remains open, awaiting the store owner to share their current theme.liquid code for more specific guidance.

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

Hi,

(No experience with coding) Spark theme

I’ve got a two-part question. Goal is to improve SEO keyword by applying H1 tag to rich text within the homepage.

  1. I realized that my H1 tag is wrapped around my header logo. When I removed the H1 tag from my logo, it removed the logo as well. I do not want the logo removed or the location change. Is there a way to take the H1 tag off the logo without removing the logo?

  2. Once I execute the first step, how do I swap my H2 tag on a rich text section and convert it to H1?

www.cloverlandhome.com

Thanks in advance!

1 Like

Hi @cloverlandhome

Its possible via your theme liquid code modification. If you can share your theme liquid codes then I can show you where to edit/modify.

Thank you.

Hi Cloverlandhome

After reading your shared two questions here, I can feel that your theme code should have been edited and changed already, as in original theme code, the H1 tag is not wrapped around the header logo at all. I can share the original H1 code on the homepage here, or you can choose to check the original content in the theme.liquid file by switching to first version and see what changes you have made.

{% if template.name ==‘index’ %}

{{shop.name}}

{% endif %}

You can also make a search via keyword “h1” in theme.liquid and check where H1 code locates, then consider commenting or using the H1 code from the original theme version to resolve your questions raised here, thank you.

Feel free to chat with me here if you have further questions, I’m happy to help and it is better for you to paste the current version content in theme.liquid, so that I can better check them for you directly!