Problem with the heading tag on the product page

  • I have a problem with the heading tag on the product page. Strangely, it only happens on one product page, not all. Here is the product page that needs to fix the heading tag: https://gaugaupet.com/products/cat-tunnel-bed
  • The problem here is that on my interface, there is an H1 tag, which is the product title: GauGau™ Large Cat Tunnel Bed for Indoor Cats
  • But the SEO index of the software (attached image 1) says that I also have an H2 tag: GauGau™ Large Cat Tunnel Bed for Indoor Cats
    Although I did not create this H2 tag, it is hidden in the source code (attached image 2)
  • What do I need to do to remove the H2 tag: GauGau™ Large Cat Tunnel Bed for Indoor Cats
    If I need to edit the Code, where do I need to edit it (because it only happens on this product)

I use the Shopify Dawn theme

Hi @TRUONGPHAM_102

You can remove it from Online Store > Themes > In the current theme, click “…” > Edit code > open main-product.liquid file, find this line of code

{%- when 'title' -%}

Remove this code and save your file


  ## 
    {{ product.title | escape }}
  

1 Like

Great solution, thank you very much

1 Like

You are very welcome!