hello, i am trying to optimize seo and i already change the newsletter and footer menus for h4 instead of h2, and know i still have two things in my header in h2 that i would like to turn in span because it is not relevant for seo (country/region and article add to cart) i searched but i cannot find in the code where to change those h2 for a span balise, can you pls help ? : https://mobilegear.fr/
Topic summary
Goal: replace non-SEO-critical H2 headings in the Dawn theme (country/region selector and “Article ajouté au panier”) with span to improve SEO, after already changing newsletter/footer headings.
Guidance provided (file and selector to locate each H2):
- Country/Region label: header-drawer.liquid → id “HeaderCountryMobileLabel”.
- Cart notification heading (“Article ajouté au panier”): cart-notification.liquid → class “cart-notification__heading caption-large text-body”.
- Image banner heading (“MobileGear® : Élevez votre jeu”): image-banner.liquid → class “rich-text__heading rte inline-richtext”.
Context: H2 (heading level) impacts semantic structure for SEO; span is an inline, non-semantic element often used when the text shouldn’t count as a structural heading. Dawn is Shopify’s default theme.
Latest development: another participant asked where to change the “language heading” in Dawn, sharing a screenshot, but no instructions were provided for that specific item.
Status: actionable pointers to the relevant files/selectors were given; the original poster hasn’t confirmed the changes worked. The new “language heading” question remains unanswered/ongoing.
@Sauron6263 Please follow the below steps to find the mentioned h2 tags in the theme file. Let me know whether it is helpful for you.
- Go to “Online Store” → “Themes”.
- Click action button from the current theme and select “Edit code”.
- To find h2 - Pay/Region, locate “header-drawer.liquid” file and search for the id “HeaderCountryMobileLabel”.
- To find h2 - Article ajouté au panier, locate “cart-notification.liquid” file and search for the class “cart-notification__heading caption-large text-body”.
- To find h2 - MobileGear® : Élevez votre jeu, locate “image-banner.liquid” file and search for the class “rich-text__heading rte inline-richtext”.
Please provide your support by click “Like” and “Accepted” if our solution works for you. Thanks for your support.

