Hiding header, or specific items in header, on mobile view

Topic summary

A user needed to hide the header (or specifically the menu button) on mobile view for their Shopify store using the Impact theme with Globo Mega Menu app. They wanted to use a different mobile menu but couldn’t configure this through the theme editor.

Solutions provided:

  • Option 1: Add CSS code to theme.liquid file above the </body> tag using media query @media (max-width: 768px) to hide the header element
  • Option 2: Similar approach placing CSS under <style> tag in theme.liquid
  • Option 3: Add CSS targeting specific button class button.tap-area.lg\:hidden with display: none !important; to theme.css file

Resolution: The user confirmed that multiple solutions worked successfully. The discussion reached a resolution with the original poster accepting the help and marking solutions as helpful.

Summarized with AI on October 30. AI used: claude-sonnet-4-5-20250929.

Hello, I’m trying to hide the header on the mobile view of our Shopify shop.
Hiding just the menu button in the header would work as well.

I’ve tried various code snippets I’ve found in this forum, but for some reason, none of them work. I am not coding savvy at all.

The shop is currently under construction here:

We are using the “Impact” theme and “Globo Mega Menu” app to build menus.

I’m using a different menu on mobile so I need to hide the header or just the menu button in the header on mobile. I can’t do this within the editor, so I assume I’d need to do this with code.

Does anyone have an idea?

1 Like

Hey @ChrisXSyntace

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like

Go to online store ----> themes ----> go to three Dots ----> edit code ---->find theme.liquid files ----> place the code ---->
under the tag before the body ----->
if this code work please do not forget to like and mark it solution

1 Like

Hello @ChrisXSyntace
Go to online store ----> themes ----> actions ----> edit code ----> theme.css
add this code at the end of the file and save.

button.tap-area.lg\:hidden {
display: none !important;
}

result

If this was helpful, hit the like button and accept the solution.
Thanks

1 Like

Thank you!

1 Like

Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

Thank you, this one worked too!

1 Like