Shopify themes, liquid, logos, and UX
My HEADER section is completely missing from website. It was active about 3 weeks when I turned off the announcement bar but today the entire section is now missing from the customization menu.
{% section 'header' %} is present in theme.liquid
header.liquid is present
None of the code in these areas have been modified in the past 2 years. Not sure what's going on but any help is greatly appreciated.
website: https://hedgehogumbrella.com/
theme: OOTS Turbo
try this after the body tag
{% sections 'header-group' %}
Hey @KPT,
Hope you're doing well. Here's what I'd recommend trying:
{% section 'header' %}
Try adding this line back to your theme.liquid file if it's missing, or check to see if it's somehow been commented out. From the screenshots, it appears to be present but could be deactivated elsewhere.
Another approach would be to check if there's a settings or configuration issue that's hiding the header from the customization UI. Since you mentioned that it was working until you turned off the announcement bar, there might be a conditional statement that's incorrectly hiding the header section when the announcement bar is disabled.
You could also try:
If these suggestions don't resolve the issue, it might be worth temporarily enabling the announcement bar again to see if that restores the header section in the customization menu, which would confirm that the two are linked in some way.
If you still can't resolve the issue, feel free to DM or email your collaborator code and they'll fix it for you.
Shubham | Untechnickle
Helping for free: hello@untechnickle.com
Don't forget to say thanks, it'll make my day - just send me an email!
Get Revize for Free | Let your shoppers edit orders post-purchase | Get Zero Support Tickets | #1 Order Editing + Upsell App
Hi,
Thanks for the feedback. So there's no way for me to access the Announcement Bar again as that was part of the Header section in the customization section which is no longer available unfortunately. (we've turn on/off announcement bar many previous to this without issues. I think this may have coincided with the shift of the navigation to the content section but not fully sure)
The header.liquid file has been untouched vs the original theme file as well so its weird how this currently broken.
Thanks,
Kevin
We do have 1 warning: "Attempting to close HtmlElement 'div2' before HtmlElement 'body' was closed"
Here's that section below however I see this comment throughout various including my footer.liquid which is not experiencing any issues at the moment as far as I'm aware.
<body class="{% if template == '404' %}error-404{% else %}{{ template | replace: '.', '-' | handle }}{% endif %}"
data-money-format="{% if settings.show_multiple_currencies == true and settings.currency_format == 'money_with_currency_format' %}{{ shop.money_with_currency_format }}{% else %}{{ shop.money_format }}{% endif %}"
data-shop-currency="{{ shop.currency }}"
data-shop-url="{{ shop.url }}">
{% section 'header' %}
<div class="mega-menu-container">
{% if settings.mega_menu_1 %}
{% section 'mega-menu-1' %}
{% endif %}
{% if settings.mega_menu_2 %}
{% section 'mega-menu-2' %}
{% endif %}
{% if settings.mega_menu_3 %}
{% section 'mega-menu-3' %}
{% endif %}
{% if settings.mega_menu_4 %}
{% section 'mega-menu-4' %}
{% endif %}
{% if settings.mega_menu_5 %}
{% section 'mega-menu-5' %}
{% endif %}
</div>
{% unless feature_image %}
<div class="container main content">
{% endunless %}
{{ content_for_layout }}
</div>
I do have this in my theme.liquid code and the header.liquid has not been modified. Not sure what's going on here unfortunately.
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025