WordPress.org

Support

Support » Themes and Templates » [Resolved] Remove responsive menu

[Resolved] Remove responsive menu

  • Please, theme author or someone else can tell me how to disable the responsive menu?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Nobody? I need it, because I’ve added search box in menu and in responsive way it’s a problem. I have few items and it would looks good anyway – or better – but mostly search box it would be usable

    Hi Tizz, do you have a section in the dashboard named, “Custom CSS” or “Edit CSS”?

    Sure.
    I mean, I use Leaf options for custom CSS
    But this can’t be done via CSS

    In that section, can you add this code:

    .main-navigation ul {
     display: block !important;
    }
    
    #mm0 {
     display: none;
    }

    Thank you, but I had already tried that way and there are two problems:
    On mobile both menu are visible, main-navigation is good, but above it there’s also responsive menu as usual.
    On desktop submenu doesn’t work with that rule.
    But maybe I can resolve using media queries.

    Oops I’m sorry, I meant to recommend this;

    @media all and (max-width: 480px) {
    
     .main-navigation ul {
      display: block !important;
     }
    
     #mm0 {
      display: none;
     }
    
    }

    You’re absolutely right with media queries.

    Problem solved for the desktop, thanks!
    But first problem remains, also responsive is visible…
    I’m missing something, I remember that once time ago I was able to make it disappear with display: none;

    You may need to add !important on the end of your #mm0 style too.
    E.g,

    #mm0 {
      display: none !important;
     }

    Yeah, you’re right, that’s the thing!
    Thank you very much!

    Optimized in that way:

    @media all and (max-width: 800px) {
    .main-navigation ul {
    display: block !important;
    }
    #mm0, .sf-sub-indicator, .sub-menu {
    display: none !important;
    }
    }

    responsive menu thems 1.6 doesn’t show send me step by stem rull for ading in wordpress

    [ email deleted, support is not offered that way ]

    Jan Dembowski
    Moderator

    @jdembowski

    @w.232101 Per the forum welcome please post your own topic.

    http://wordpress.org/support/theme/leaf#postform

    Please do not post your email address in these forums.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Resolved] Remove responsive menu’ is closed to new replies.