How to change the heading tag in the collection on the Dawn theme

Topic summary

Goal: Change heading tags on the Dawn collection page so Product name, Sort by, and total product count display as H2 instead of H3.

Approaches suggested:

  • Edit HTML/Liquid directly (Shopify’s templating language):
    • Product titles in card-product.liquid (component reused sitewide).
    • Collection grid/context in main-collection-product-grid.liquid.
    • “Sort by” (filters) in facets.liquid (filters/faceting component). Change the heading elements from h3 to h2 as needed.
  • CSS-only workaround (visual change only): Adjust font sizes in base.css targeting relevant classes (e.g., full-unstyled-link.satcb_quick_link, facet-filters__label.caption-large.text-body, product-count__text.text-body) to mimic H2 sizing without changing semantic tags.

Outcomes:

  • Original poster confirmed success using the CSS method.
  • Another participant reported it didn’t work for them; no further troubleshooting or confirmed fix provided.

Notes:

  • Screenshots and a CSS snippet are central to the provided guidance.
  • Editing Liquid files changes the actual semantic structure; the CSS method only changes appearance. The discussion remains partially open due to the latest “not working” report.
Summarized with AI on December 20. AI used: gpt-5.

I want to change the heading tag in the collection on the Dawn theme, specifically as follows:

  • Product name: is H3 => Change to H2
  • Sort by: is H3 => Change to H2
  • Total number product: is H3 => Change to H2
    Details according to the attached image
    We look forward to receiving help from the community

Hi,

You could do this through editing the theme code directly (go to you online store customizer and click edit code, image below), however you would need to edit the card-product liquid file which is a component that is reused across different places on your site.

To modify the filters you would need to edit the main-collection-product-grid.liquid file and look for the code in the screenshot below.

Hope this helps!

If you wish to change it you can simply modify the

and turn it into a

and vice versa.

Everything is fine except this part: “To modify the filters you would need to edit the main-collection-product-grid.liquid file and look for the code in the screenshot below”
I tried but no change with the Sort Filter

To change and sort you would have to edit the facets.liquid file and change different states to be h3s.

Hi @TRUONGPHAM_102 ,

Are you Vietnamese ?

Regarding your issue, you can directly change the heading tag by adjusting the font-size, as it has a similar effect on the text size where you want to make the correction, right?
For example:

So you just need to edit css script and the issue will be resolved. You can try this way :

Step 1: Go to Admin → Online store → Theme > Edit code:

Step 2: Search for the file base.css. And add this code snippet to the end of the file.

.full-unstyled-link.satcb_quick_link {
    font-size: 12px;
}
.facet-filters__label.caption-large.text-body {
    font-size: 14px;
}
.product-count__text.text-body {
    font-size: 14px;
}

Step 3: Save your code and reload this page.

=>> The result:

I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.

Have a nice day sir!

Great, Everything is done. Thank you vey much!

it is not working for me !! any help, thanks