Support » Theme: Attitude » Main menu disappears on mobile view

  • My main menu disappears entirely when viewing on a smartphone. Any ideas what I might be doing wrong? Everything seems fine on my laptop. The menu is currently just to three other pages, and the home page. No sub-menus.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Moderator Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you link your site?

    Moderator Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you try deactivating plugins to explore whether any could be responsible?
    Do you know whether the header.php file was modified?

    Thanks, have deleted a plug-in which seemed to be causing problems. So I can now see the menu, but only one of the headings. There is then a drop down for the others. But there seems plenty of screen space to have all of the menu headings. Any ideas?

    I’ve made no changes to the header.php file.

    Moderator Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Do you have a section of the dashboard named, “Custom CSS”, “Custom CSS Manager” or “Edit CSS”, or are you using a Child Theme?

    Yes, I have a “Custom CSS” section in the Theme Options. I have not used it.

    Moderator Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    In that section, enter this:

    #access select {
     display: none;
    }
    
    #access ul {
     display: block;
    }

    Fantastic, that worked. I really appreciate your help, many thanks.

    What was the issue?

    Moderator Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    That theme, like many others, converts the menu into a dropdown or vertical list on mobile devices so that the website can expand and have many menu items without breaking the mobile layout.

    If you add many more menu items, you’ll likely break the mobile layout because we’ve circumvented this prevention technique.

    Is there a solution for someone like me with a lot of menu items?

    http://66.147.242.168/~bellabf4/

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Main menu disappears on mobile view’ is closed to new replies.