Need to add H1 to pages, but where do I place in liquid?

Topic summary

Main issue: Pages fail an audit for missing H1 headings, and the poster wants to convert an existing H2 to H1 in a Shopify theme.

Context: H1 is the primary HTML heading for a page; Liquid is Shopify’s templating language used in theme files like header.liquid and hero-one.liquid.

What was tried: Navigated to Online store > Themes > Edit code > Sections > header.liquid (and hero-one.liquid) and used search to find the H2 markup to replace with H1.

Problem: The specific H2 snippet (

{{ section.settings.title | escape }}

) cannot be found in those files, so the poster doesn’t know where to add the H1 version.

Central artifact: The code snippet is key to understanding the issue.

Outcome/Status: No solution or placement guidance was provided in the thread; the question remains open with unresolved next steps and no decisions made.

Summarized with AI on January 29. AI used: gpt-5.

Pages are coming up in my audit as flagged for no h1. I know this is a common problem. However, I am stuck as I can’t replace an h2 with an h1 as I’m advised to.

I know I’m supposed to go to: Online store > themes > edit code > sections > header. liquid, and replace h1 with h2.

However, when I control + F to find the h2 in header.liquid or hero-one.liquid, nothing comes up for the following line:

{{ section.settings.title | escape }}

So where do I add:

{{ section.settings.title | escape }}