Welcome to Eight Docs

How do I add H1 tags to the homepage?

By default, the theme doesn't add on H1 tags to the homepage as it isn't a content page. To add these manually, follow the steps below:

  1. Within your Shopify admin, go to Online store.
  2. Go to Preferences.
  3. Go to Title and meta description, and then navigate to the Homepage title entry field.

 

Screenshot_2021-07-02_at_15.01.17.png

 

As a result, your site title will become your H1. While it is possible to alter this, we don't recommend it; this is because it's a great opportunity to add a 'Custom HTML' section to the homepage and include your own H1 tag that targets the keywords you wish to focus on.

In addition, this allows you to add a brief explanation of what you store does on the homepage (meaning that people who land on it know exactly where they are).


Adding an H1 tag

The best way to directly add an H1 tag to the homepage template is to use the Custom HTML section.

  1. Within your Shopify admin section, go to Online store.
  2. Under Themes, go to your theme and select Customize.
  3. On the left-hand section menu, scroll down to Add section.
  4. Select Custom HTML.
  5. Add in the following code and alter the text between the two tags, to suit:
 
<h1>Your own custom h1, including any important keywords</h1>
 
Image_2021-07-02_at_2.58.21_pm.png

Was this article helpful?