Without any available code it’s a bit difficult to figure out what’s going on for sure; however, I’m guessing the problem is that there is some JavaScript code that activates the hamburger menu only if a screen is below a certain width.
The script only runs when the page first loads, so it is only then that the screen width is checked – in your mobile device the initial width is small enough, so the code runs, in your screen the initial width is greater than set by the code, so it doesn’t run.
The solution would be to simply locate the code snippet (in many themes it is inside a file called navigation.js
) and remove the part that checks the width, so the code runs regardless of the screen size.
Related Posts:
- wp_nav_menu: show menu only if one exists, otherwise show nothing
- Does Extending Multiple Nav_Menu_Walkers Allow Nested Menus?
- Making breadcrumb with wp_nav_menu
- Renaming a WordPress Admin Menu
- Deleted pages are NOT removed from custom menus?
- How to add active class on current menu item page?
- How do you get the current-menu-item ID?
- Add Page ID class to nav menu items
- Way to bulk delete menu items in new 3.x Appearance > Menus system?
- WordPress nav_menu_link_attributes Not Working
- rename navigation menu label in wordpress theme by code
- menu entries are lost
- Nav Menu and display post count
- Automatically Add New Tags to Sub-menu
- Accesibility problems with dropdown menus in twentyten theme or others
- Error “The given object ID is not that of a menu item” on menu with 40+ items
- TwentyTwelve child theme mobile menu not working
- Theme menu in Admin Panel
- How to target children of child pages
- Adding post excerpt into navigation menu
- Editing WordPress Nav Menu Walker
- Convert WP Menu to a Drop Down for Mobile browser
- WordPress Admin Bar Covering & Overlapping Fixed Menu Header [closed]
- Prepend to start of WordPress nav loop
- Change search results order for Admin -> Appearance -> Menus -> Pages -> View all
- Add custom external link to menu
- How I can overlap my menu in my header picture
- current-menu-item class in CSS
- How to make the Primary Menu stay the same in the PC and mobile versions of the Twenty Sixteen theme
- How to add notifcations to front-end menu for users when they recieved replies?
- Page content loading issue using Walker_Nav_Menu
- Changing status of Published posts which have less Content to “Draft”
- Main menu highlighting on subpage which is not in submenu but in hierarchy
- Using Zurb’s Foundation Tabs as WordPress Nav (Active Tab)
- Links do not open from click, only in new tab [closed]
- Create menu without admin panel
- a better menu, menu options assistance for WP
- Can I have custom post types in “Add menu items” on in the Admin > Appearance > Menu
- Add a custom class to nav li item
- Adding anchors in WordPress Menus
- Can’t display custom menu using name?
- Adding a unique ID to each sub-menu
- How to add css to single navigation text? [closed]
- enqueue script during add menu items means before save menu items
- WordPress classes removed when using custom walker
- Get parents child pages
- Show subpages of a category in a custom menu
- how to add home icon instead of text in wordpress menu
- How to add a menu that belongs to parent blog to all child-blogs?
- How to create this kind of sub-menu in new line?
- How to use wp_list_pages on a grandparent page
- How to add social buttons like facebook and twitter in the footer of a theme?
- Dropdown primary navigation menu not working
- Understanding with this WordPress code
- Link after WordPress
- Im having trouble centering menu items in footer due to “flexbox”
- When created sub-directory, can we create a new navbar?
- Is it all right to put the whole tag into template_part file?
- Mobile menu displays submenus on top of parent. Need it to display right below on an own line
- Misleading behaviour on Menu & Theme location
- Add category label for appearance > menus items
- Custom items for Menus
- How to build a menu that change style over a section
- Menu flickering with each refresh on Google Chrome [closed]
- Remove Double Menu in Mobile View and Have one Menu Only
- calling JS to custom menu design
- WP pages content is missing in frontend
- How i can get current menu id with multiple occurrence
- How to get rid of the bottom line in the navigation menu via CSS file?
- Active menu item state on all menu items
- Links in new menu don’t work
- Error: Declaration of MyClass::start_lvl() should be compatible with that of Walker_Nav_Menu::start_lvl()
- Installing compact search in the main menu?
- Having an issue with wp_nav_menu displaying custom navigation
- Next/previous a-like single navigation
- How to create a menu super voice in WP?
- Menu administration, how to allow special charachters
- How to avoid website url appending problem in wp site?
- Create custom page and custom menu
- Get first menu item of custom menu
- Bought custom navigation menu from codecanyon, how to change feature.php?
- Custom menu linking to page not found
- How to insert date in topNav
- How to set up suhosin.ini for unlimited menus
- Somehow lost my MENU from my home page- help!
- How to completely remove the top section with the menu?
- Customizing Responsive Themes Menu [closed]
- How To Conditionally Change Menu In Same Theme Location
- How to display a submenu as a popup when clicking a button?
- Add menu to CMS page
- Not even able to Log in [closed]
- how can i get the page_ID in nav li [closed]
- How do i add logo in wordpress studiopress (glam theme)?
- What is the best way to incorporate responsive dropdown navigation menu into custom theme?
- how to add permalink/slug to wordpress custom link menu item
- Using walker to display all menu branches at once?
- How to add a class directly on a unordered list element that is a primary navigation
- Submenu items not working anymore
- Icon not shown in Dropdown menus in Twenty Seventeen Theme
- How to change WP menu item type?