One of the header sections seems duplicated on the page

Topic summary

A user encountered a visual duplication issue where the promotional strip/announcement bar section appeared twice on their page, despite not being configured as separate sections in the theme editor.

Initial Diagnosis:

  • The duplicated header sections appeared tied together rather than as independent elements
  • A screen recording was shared to demonstrate the unusual behavior

Root Cause:
The header code contained a loop error causing section code to be added multiple times.

Resolution:

  • Reverting the header.liquid file to its original version did not resolve the issue
  • Modifying the theme.liquid file successfully eliminated the duplication
  • The problem was fully resolved through this theme.liquid adjustment

Status: Resolved

Summarized with AI on November 14. AI used: claude-sonnet-4-5-20250929.

hi all,

as you see the page screen below, the promostrip section seems duplicated but it is not seperate sections. they seem tied to gether but seem duplicated on the page. Can you help me please?

thanks

Hi @Heyemac

It has 2 Anouncemen bars and Headers sections. Please disable the duplicate ones

No, it is not possible because they are not seperate sections interestingly. I recorded very short video to explain the situation.

https://www.veed.io/view/8bb42b55-409d-439e-9bb0-7fcd36cfe23b?sharingWidget=true&panel=share

Your header code has an issue. Section code is added in loop case. You can try to open your header.liquid file in Online store > Themes > Edit code, revert it to the original version, and check if it solves the issue.

I did it, no didn’t solved

But I did your recommendation for the Theme.liquid and it worked. That’s great, thank you so much for your very kind support.

Hi @Heyemac

Can you try to revery theme.liquid file to?

1 Like

Yes, I tried it and it worked. thank you soo much

Happy I could help :blush: