Site logo

Archived topic

Hide Mobile Menu (primary navigation)

6 replies · Started by Bambun on June 25, 2018

Viewing posts 1–7 of 7

Hi,

As you can see in the screenshot, I would like to disable the mobile menu (hamburger icon). I use elementor pro menu and I tried different solution read in the forum.

If use this code

@media (max-width: 768px) {
.page-id-209 .menu-toggle {
display: none;
}
}

The hamburger menu disappears in the id page 209

if I use

@media (max-width: 768px) {
.menu-toggle {
display: none;
}

It doesn't work.

Screenshot

If I use This code, It Rocks!

@media (max-width: 768px) {
.menu-toggle {
display: none !important;
}
}

Looks like you found the solution!

How can o hide the menu to logged in users only?

Hi there,

can you raise a new topic and let us know which menu you need to hide, and is this for Mobile users only.

I just want to do the same thing in this post. Except hide/disable it only for the logged in users. Sorry for the confusion.

You could do this:

.logged-in button.menu-toggle {
    display: none !important;
}
This archived topic is closed to new replies.