We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Re: Missing H1 tags

Missing H1 tags

baileyymans
Shopify Partner
11 0 3

I have put my website ( www.posablecam.co.uk ) through a SEO tool and they have said I am missing H1 tags from all pages.

 

How can I add these in?

Is there anyway of hiding the titles? Or having text lower down in the page classed as a H1 tag without it looking different to the rest.

Replies 8 (8)

Jack_aldrich
Visitor
1 0 0

Hey @baileyymans, i hope you're doing good I am sharing some steps to add H1 tags make sure you haven't deleted <h1> tag from header.liquid file

  1. Log in to your Shopify admin panel.
  2. Navigate to "Online Store" and click on "Themes."
  3. In the "Themes" section, click on the "Customize" button for your current theme.
  4. In the left sidebar, select the section where you want to add the H1 heading.
  5. Look for the "Heading" or "Text" element in the section's settings.
  6. Edit the element and ensure that it is formatted as an H1 heading by selecting the appropriate heading level.
  7. Enter your desired H1 heading text in the content area.
  8. Save the changes and preview your website to see the updated H1 heading.


I hope this will help you solve the issue 

Jackstrong11
Shopify Partner
2 0 0

I have a question about the H1 tag, if it is not in the theme itself, please share a method to do it.

Kibochi
Shopify Partner
2 0 0

Hey Baileyymans!

I see that you're using Dawn as your theme.

Can also see that you don't have any H1 as you have specified:

Kibochi_0-1715961041211.png

 

You'd want to make the text in your Hero Section H1, as this will be the first thing your visitors will be seeing.

 

Kibochi_1-1715961094107.png

 

Where are you trying to put your H1 text? This way I can assist you further.


 

 

Helping Shopify businesses achieve higher rankings and better online visibility through expert SEO strategies.

Connect with us for tips and insights on SEO, digital marketing, and optimizing your Shopify store for success!
baileyymans
Shopify Partner
11 0 3

Hi

 

I understand that text in my hero section should be the H1. But I don't like how the text appears in this section.

Can I put the H1 header below this section. As the title before the 3 column 2 row table section of USPs?

wellwisher
Shopify Partner
11 0 2

I can see that you are missing H1 Tags in your home page. Use this guide to fix heading tags in your Shopify:

  1. Backup Your Theme: Duplicate your theme before making changes.

  2. Edit Code: Go to "Online Store" > "Themes" > "Actions" > "Edit code."

  3. Modify Header Code:

    • Search for header.liquid in the code editor.

    • Find the <h1> tag (usually around the logo) and change it to <div>.

    • Save the changes.

  4. Add H1 via Rich Text Section:

    • Go back to "Customize" and add a "Rich text" section to your homepage.

    • Edit the text and set it as an H1 heading.

    • Save and preview your site to confirm the H1 tag is visible.

Let me know if this helps or if you have any other questions 😊

VeronikaF
Excursionist
15 0 4

Hello,

 

dont you know where to find the <h1?

Because I dont have it in the header.liquid section.

 

I'd like to delete the H1 from the logo

dawn theme

vesimidesign.com

 

thank you

Veronika

 

wellwisher
Shopify Partner
11 0 2

Yes, I do.

clickfromai
Shopify Partner
9 1 2

I noticed this post is from a month ago, and I’m not sure if anyone has found a solution yet. I just checked your site and saw that the H1 tag is still missing.
I just spent two hours investigating this issue and tried several suggestions —unfortunately, none of them worked for me.

However, after a lot of trial and error, I was finally able to successfully add an H1 tag to the homepage of all four of my Shopify stores. I hope this can help other sellers facing the same problem.

First, to clarify: we're only talking about adding an H1 to the homepage, since collection, product, and blog pages typically already include an H1 by default.
Second, my solution might not apply to everyone, as it depends on the theme. My four stores use the following themes: Ride, Taste, and Shapes, with two of them using Taste.
Below is the method that worked for me on all four stores. If anything is unclear, feel free to ask!  

There are two main steps to correctly configure your homepage H1 tag for better SEO performance.

  • Fix the Logo: Stop the theme from using an <h1> tag for your logo.

  • Add a New Hidden H1: Implement a custom, search-engine-friendly <h1> tag that is only visible on the homepage.


 

Step 1: Fix Your Header (Remove H1 from the Logo)

 

Most themes incorrectly use the <h1> tag for the logo on the homepage. This needs to be changed to a <div>.

  1. In your Shopify Admin, go to Online Store > Themes.

  2. On your current theme, click the ... button and then Edit code.

  3. In the code editor, open the Sections folder and find the header.liquid file.

  4. Inside this file, search for <h1 to find where the logo is wrapped in an <h1> tag. You will find code that looks something like this:

    Before:

    HTML
     
    {%- if template.name == 'index' -%}
      <h1 class="header__heading">
    {%- endif -%}
      <a href="/" class="header__heading-link">
        ... your logo image is here ...
      </a>
    {%- if template.name == 'index' -%}
      </h1>
    {%- endif -%}
  5. Your only job here is to change the <h1> and </h1> tags to <div> and </div>.

    After:

    HTML
     
    {%- if template.name == 'index' -%}
      <div class="header__heading">
    {%- endif -%}
      <a href="/" class="header__heading-link">
        ... your logo image is here ...
      </a>
    {%- if template.name == 'index' -%}
      </div>
    {%- endif -%}
  6. Click Save. The <h1> tag is now free to be used correctly.


 

Step 2: Add a Real, Hidden H1 to Your Homepage

 

Now, we will add our own powerful H1 tag that only shows up on the homepage and is invisible to users but visible to search engines.

IMPORTANT: First, make a backup of your theme! Go to Themes, click ... and choose Duplicate. This is your safety net.

  1. In the code editor, open the Layout folder and click on the theme.liquid file.

  2. Find the opening <body> tag. It will look something like <body class="gradient">.

  3. Paste the following code directly below the <body> tag line.

    Code Snippet:

    HTML
     
    {%- if template.name == 'index' -%}
      <style>    .visually-hidden {
          position: absolute;
          width: 1px;
          height: 1px;
          margin: -1px;
          padding: 0;
          overflow: hidden;
          clip: rect(0, 0, 0, 0);
          border: 0;
          white-space: nowrap;
        }
      </style>
      <h1 class="visually-hidden">Your Homepage Title - Main Keywords Here</h1>
    {%- endif -%}
  4. Customize the text! Change Your Awesome Homepage Title - Main Keywords Here to your actual desired H1. Make it descriptive about your store and include your main keywords.

  5. Click Save.

 

It seems the forum doesn’t allow HTML code—it keeps notifying me that my reply contains invalid HTML. So, I’ve included both the screenshots and the full code in my original blog post about the missing H1 tag. Feel free to check it out for all the details.

Drive AI traffic to your shopify Store | clickfrom.ai