Before you ask please READ THIS

Remove mobile hamburger menu

edited July 2017 in FatMoon Posts: 24
Hi,

Is it possible to remove mobile menu (hamburger menu) from my menu bar and leave only Menu overlay? Only for mobile version.

So I would like to have a normal menu (not menu overlay) on my desktop version, but on my mobile I would like to have ONLY menu overlay. I tried with :

@media only screen and (max-device-width: 1024px) {
#mobile-menu-opener {
display: none;
}
}
I even tried with

@media only screen and (max-device-width: 1024px) {
.icon-menu.tool {
display: none;
}
}
But I can't get my hamburger menu to stop displaying, and only menu overlay to be displayed.

Picture attached below with explanation.

https://drive.google.com/file/d/0Bx9eVs4voBGkajBleFk1OElGYUU/view?usp=sharing

My website is anjabasaric.com

Thanks,
Anja
Post edited by Air on

Comments

  • AirAir
    Posts: 10,970
    Hello:-)
    AnjaBasaric said: I tried with :

    @media only screen and (max-device-width: 1024px) {
    #mobile-menu-opener {
    display: none;
    }
    }
    This should work fine. I don't see this code added to your site.

    Please add it again in custom CSS, and if it will not work I will help you investigate why it doesn't work.

    With kind regards.
  • Hi,

    Thanks for your reply.

    I've added the code and cleared the cache. Still no change. :(

    Thanks,
    Anja
  • AirAir
    Posts: 10,970
    OK, You are right you need stronger selector.

    Use #header-tools #mobile-menu-opener
    instead of only #mobile-menu-opener .

    With kind regards.
  • edited July 2017 Posts: 24
    Great, this worked!

    It's still showing two hamburger menus when I go through customise (and select mobile preview) but when I go to my actual phone and test it there it's working fine. I suppose it's just a customiser caching problem which is fine. I don't mind about that.

    Thanks so much.

    Regards,
    Anja
    Post edited by AnjaBasaric on
  • AirAir
    Posts: 10,970
    AnjaBasaric said: I suppose it's just a customiser caching problem which is fine. I don't mind about that.
    Yes it might be something like this. As long you remember this you will be fine ;-)

    I am glad it worked for you :-)

    With kind regards.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!