Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 4

How do I hide navigation the menu icon on mobile devices?


dylanseeger

Question

I’d like to hide the mobile navigation menu, and instead just scale out my navigation menu underneath the title of my site when viewed on an iPhone. I do not want to disable the mobile style completely, just the menu drop down.

Any way to do this through CSS or code injection? Thanks!

My site is dyln.me.

Edited by claine

Alternative musician. I made Readers & Reporters.

Link to comment

17 answers to this question

Recommended Posts

  • 1

This worked best for me. I used Hayden, but I imagine this will work for other templates. Go to DESIGN, CUSTOM CSS and add the following:


/** hide nav menu icon on mobile **/
.top-bar, .middle-bar, .bottom-bar {
 display:none !important;
}
label.mobile-nav-toggle-label.fixed-nav-toggle-label {
   display:none !important;
}




Link to comment
  • 1

That works for hiding the mobile menu, but is there any way to make the menu items display underneath the title on the mobile site? Because right now with that CSS tweak there is no menu at all. Thanks so much!

Alternative musician. I made Readers & Reporters.

Link to comment
  • 1
On 12/18/2020 at 9:26 AM, one27mediahouse said:

Bumping this here and on other forum!  There seems to be no clear answer on forcing desktop menu on mobile.

If you use SS 7.1. add this to Design > Custom CSS

@media screen and (max-width:767px) {
.header-display-desktop {
    display: flex !important;
}
.header-display-mobile {
    display: none !important;
}
.header-burger {
    display: none;
}
.header-title-nav-wrapper {
    flex: 1 0 100% !important;
}
.header-nav {
    display: flex !important;
    width: 70% !important;
    flex: 1 1 70% !important;
}
.header-title {
    flex: 1 0 30% !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
  • 0

> Re:

LilyS · Aug 07, 2014 at 05:23 PM 0 Using .main-nav worked for me. Information on IDs and classes to refer to and change are in the navigation.block file. >

Did anyone find a solution to this to display the menu but not in dropdown form (mobile only). Could someone expand on LilyS's comment? Not sure how to do that. My website www.pathxo.com

Thank you!

Link to comment
  • 0

@Danieljay @LilyS @trevordelaney @joncasey5I also wish to display the desktop navigation on my mobile versions (I am using the Bedford template). So far, all solutions I've tried remove the hamburger but do not replace it with text navigation. I do not understand the comment re using .main-nav. Thank you.

Link to comment
  • 0
On 12/22/2020 at 11:39 AM, tuanphan said:

If you use SS 7.1. add this to Design > Custom CSS


@media screen and (max-width:767px) {
.header-display-desktop {
    display: flex !important;
}
.header-display-mobile {
    display: none !important;
}
.header-burger {
    display: none;
}
.header-title-nav-wrapper {
    flex: 1 0 100% !important;
}
.header-nav {
    display: flex !important;
    width: 70% !important;
    flex: 1 1 70% !important;
}
.header-title {
    flex: 1 0 30% !important;
}
}

 

This is excellent and assists with my issue also, however I'd love to have the navigation on mobile sit to the far right corner. Is there a tweak to this code to cater for this? Currently it sits just to the right of my logo on the top left.

Link to comment
  • 0
On 3/12/2021 at 7:51 AM, arogspace said:

This is excellent and assists with my issue also, however I'd love to have the navigation on mobile sit to the far right corner. Is there a tweak to this code to cater for this? Currently it sits just to the right of my logo on the top left.

Can you share link to your site? We can help easier

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...