Change Shopify Theme h3 to h2 in Collection?

Good evening everyone,

According to the source code (checked in the browser), the heading in a Shopify collection is set to h3. For SEO reasons, I would like to change this to h2. I have searched through all .liquid files but cannot find this specific location, only the class name in the .css file. Do you have any ideas or know where I can change this? I cannot find anything in the Index.json file either, only "small", "medium" and "large" as the heading_size. I was also able to enter "h2" by manually adjusting it and changing the default value. This would only affect the adjustment via the builder anyway.

Maybe some of you have experience with this.

Thank you very much in advance.

(1 votes)
Loading...

Similar Posts

Subscribe
Notify of
2 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
MasterFAQ
1 year ago

Hey, if you want to change the headline of a Shopify Collection from h3 to h2, it might be a bit tricky. Usually you can’t do this directly in the Shopify Theme Editor.

  1. Make backup: Sure is safe! Before you make changes, make a copy of your theme, only in case.
  2. Use Shopify Theme Kit: Install the Shopify Theme Kit to get access to the theme files on your computer.
  3. Check files: Look at the template files, especially those responsible for the collection headings. Things like
  4. collection.liquid
  5. or
  6. product.liquid
  7. be.
  8. Check CSS: Since you found the class name in the .css file, check the associated .css file to make sure that there is nothing that affects the heading tag.
  9. Make changes: If you found the relevant posts, change the tags from h3 to h2.
  10. Update Theme: After adjustments, upload the theme with the Theme Kit to your Shopify Store.

Remember that such adjustments may require some technical know-how. If you’re not sure, you could consider help from a Shopify expert or the Shopify support.