We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Hide desktop menu but still show on mobile

Solved

Hide desktop menu but still show on mobile

russells01
Tourist
3 0 1

I'm trying to hide the header menu on the desktop but still have it show on mobile. Is this possible?  Website is www.sevenstudios.shopScreen Shot 2025-06-25 at 2.06.16 PM.png

Accepted Solution (1)

CodingFifty
Shopify Partner
1102 162 191

This is an accepted solution.

Hey! @russells01,


Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css/main.css/custom.css file Add the provided code at the end of the file.

nav.header__inline-menu {
    display: none !important;
}
Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com

View solution in original post

Replies 5 (5)

CodingFifty
Shopify Partner
1102 162 191

This is an accepted solution.

Hey! @russells01,


Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css/main.css/custom.css file Add the provided code at the end of the file.

nav.header__inline-menu {
    display: none !important;
}
Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com
russells01
Tourist
3 0 1

Thank you for helping. I wasn't able to find   base.css/theme.css/style.css/main.css/custom.css  file. I searched through manually too. Any other suggestions?

russells01
Tourist
3 0 1

Just kidding! I added it to the custom css section under header. Worked like a charm. Thank you so so much!

CodingFifty
Shopify Partner
1102 162 191

Awesome! Glad it worked perfectly. Let me know if you need anything else!

Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com

The_ScriptFlow
Trailblazer
201 17 26

Hey @russells01,

Welcome to Shopify community. Yes, this is possible to ensure that the header menu not show on desktop but it should show on mobile.

For this you need to paste the following coding in the end of base.css file.

.header__inline-menu {
  display: none;
}

After applying the provide css then you will get the following results.

Desktop:

The_ScriptFlow_0-1750882223016.png

Mobile:

The_ScriptFlow_1-1750882263592.png

 

 

- Need a Shopify Specialist? Chat on WhatsApp Or Email at info@thescriptflow.com
- For any custom section queries, bug fixing please visit: Level 2 Fiverr Profile
- Buy Me a Coffee? Nah… Let’s Upgrade to a Car
- If my solution was helpful, mark it as a solution and hit the like button!