• I make use of the navwalker menu in some WordPress themes. It works fine on most of them, but on one site it seems nog to switch to mobile.

    I cannot discover what is wrong, also tried to use some previously made themes on here.

    Demo site is bidoncolle.cc

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    I think the mobile hamburger button is not displaying on mobile because there is no viewport meta tag dictating the initial scale. Thus my phone is zooming out so the entire desktop site appears on screen. Thus the CSS is applied as for desktops and not mobiles, causing the hamburger button to be hidden.

    The usual viewport tag in the head section is
    <meta name="viewport" content="width=device-width, initial-scale=1" />

    While you could add this to the template your theme uses for the head section, if your theme is subject to periodic updates, your addition will not survive through updates. In such a case I recommend asking the theme’s developer to either add this for you and all theme users, or recommend a way to do so for yourself that is safe from updates.

    Thread Starter commanderk84

    (@commanderk84)

    Thank you BCWorkz!

    This seems to solve the problem.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Na Walker no mobile menu’ is closed to new replies.