Remove h2 from collapsible row on product page for Dawn theme

Topic summary

Issue: Collapsible row titles on a Shopify Dawn product page were rendering as H2s, which the merchant wanted changed to spans for SEO. Editing collapsible-content.liquid didn’t affect the headings.

Guidance: The heading markup originates in sections/main-product.liquid (around line 252) within the ‘collapsible_tab’ block as

. Replace the H2 with a span there. If line numbers differ due to theme version/customizations, search for “accordion__title” to locate it.

Follow-up: After initial confusion where H2s still appeared, the helper confirmed the fix works (tested on a dev store) and pointed back to the correct block. The merchant realized a mistake on their end.

Outcome: Resolved. Changing

to in sections/main-product.liquid for the collapsible_tab block fixed the issue. Screenshots were shared but not essential to the solution. The store URL was provided for reference.

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

Hello, i am looking to remove h2 from collapsible row on product page for Dawn theme but i cannot find where, i change the code oncollapsible-content.liquid from h2 to span but on my product page the collapsible row are still in h2 which is not good for seo, any idea how to romove those h2 from collapsible row on the product page for span ? thx for help : https://mobilegear.fr/products/manette-de-telephone-lightstrike

Hello @Sauron6263

Can you share store URL?

1 Like

https://mobilegear.fr/products/manette-de-telephone-lightstrike

Its in sections > main-product.liquid
line no. 252 (

)

if you are on different version or there is customization in your file them simply search for ( accordion__title ) and you will find the h2 tag.

ok i see, so i should replace h2 by span ?

1 Like

Yes

i changed for span but still in h2 for collapsible row on my product page :

Then there is a chance that you are missing something because I posted the solution after checking in my development store with the same theme.
And here is code of the block

{%- when 'collapsible_tab' -%}
            
              
            

my bad working now thx

1 Like