It’s a little bit of guessing, but…
I’m pretty sure it’s just a CSS problem.
The real order of your menu items is P1, P2, P3, and so on. And thus this is the order on mobile devices.
On desktop, the order is changed, because there is float: right assigned to menu items, so they do exactly that.
The easiest way to solve it will be changing the CSS for desktop menu.
Related Posts:
- Menu items description? Custom Walker for wp_nav_menu()
- How to add posts to custom menus?
- Display Menu Name using wp_nav_menu
- How to limit wordpress menu depth in admin panel
- How can I set image sizes and still have responsive images using the srcset attribute?
- wp_nav_menu sort order?
- How to determine if custom menu is active?
- How do I check if a menu exists?
- How to use logout function on custom menu link?
- Excess White Space Above Admin Bar on Frontend Using Twitter Bootstrap
- How to display wp_nav_menu() conditionally only when not on a 404 page?
- How to add menu support to a theme?
- Problem with registering menus – What to do when other solutions aren’t working?
- Add a #hash to the links in my custom menu
- How can i change menu link when page content empty?
- Extend walker – navigation, adding data attribute to a tag
- How to add (css) classes to only one wp_nav_menu()?
- Replace Home with image link inside custom header menu
- Displaying wp menus by name without using theme locations
- How do I add a post to a menu
- how to change WordPress menu markup/classes
- Setting a Default ‘Theme Location’ When Creating a Menu
- Best practices: Custom theme sidebar menu – hardcode or widget?
- How do I highlight the menu for a child page?
- how to set more than one menus to the same theme location
- Custom Nav Walker to show siblings and children of current branch?
- Where is definied the theme location for the main menu in a WordPress template?
- Second menu not showing
- How to remove class attributes from custom menu markup?
- What tags should be used for themes to show the type of layout?
- menu behavior is not as expected
- Part of Menu Item Hidden on Header Menu
- Meta tag viewport
- which is the best way to customize nav-menu-template.php?
- Create wordpress header with custom logo in between the menu splitting the menu into two equal parts [closed]
- How to make wordpress theme iframe responsive
- WordPress navbar with logo in middle [closed]
- My Admin bar covers my sticky navbar [closed]
- WordPress is adding margins and padding to my custom menu?
- Menu item added in wp_nav_menu_items filter is never highlighted
- wp_post->post_parent object returning 0
- WordPress empty Nav Menu error
- multisite: global menu containing network site links?
- How to make theme elements customizable in wordpress?
- Single-level menu option? Another way?
- Using a page as home, how do I prevent nav from setting both home and page links active?
- Problem with empty class attributes when running a filter on nav_menu_css_class
- How to append to menu items selectively
- Custom Nav Walker Trouble
- Issue on Adding A Class to Bootstrap Navbar Walker Dropdown
- Show woocommerce categories on my theme menu styling
- Responsive Images – crop don’t seem to work
- Override customizer values on a per-menu base
- Why does has_nav_menu return false when get_registered_nav_menus shows the opposite?
- Why wp_nav_menu() doesnt show the proper meny when invoked two consecutive times?
- How to develop a menu like wwe.com?
- Custom image size vs CSS sizing
- Why are some of my menu items not displaying on my menu?
- Change Responsive Images Maximum Width of 1600px
- How should I use starter content utility to show some default menus?
- Thesis -style Navigation
- How can i make multilevel menu in wordpress theme with bootstrap
- how do i develop a global nav and local nav to be wordpress dynamic?
- Adding content inside the anchor tags within WordPress main nav
- Why is my container argument not working for wp_nav_menu() [closed]
- How to Emulate Default Navigation Menu Behaviour in a Custom Theme?
- Does wordpress add their own classes into nav menus?
- Custom menu: Link names
- Custom nav menu not showing
- if (has_custom_menu())?
- Why do sticky posts show in this menu?
- Making a horizontal flyout menu from WordPress category listing
- WordPress custom menu can’t show 3. level submenu
- how to create/register menu items that can be added to menus later
- Why nav_menu_css_class doesn’t work with apply_filters?
- Building a custom menu or use a plugin?
- Use instead of for wp_nav_menu()
- add class to all images inside the content
- Cold Fusion to WordPress
- WordPress Menu item > Sub menu Class update
- Menu names not getting translated
- Nav menus Fast previewing not working with wp_get_nav_menu_items!
- How to know and change the machine name of a menu?
- WordPress menu walker – Get parent item text inside end_lvl function
- Should I detect the device or the page first?
- How to add custom field option with menu?
- What’s the policy for building a theme that doesn’t support widgets/menus?
- FitVid not working for iframes on particular theme install
- Problem with multiple menus in theme
- Main Menu Theme Different Output Print
- Menu item not created on theme activation
- How do I move menu to the bottom in Custom Community theme?
- Header links also appearing in the footer
- Creating Multiple Menus in the Thesis Theme?
- How do I middle-align my header menu items in WordPress [closed]
- How to resize video lightbox popup in wordpress? [closed]
- Elementor Pro and Astra have different breakpoints – how to salvage?
- How do I work with responsive images in WordPress? (img srcset/sizes)
- How to automatically set a Template Page Name next to a page in menu screen such as WooCommerce pages, front page, or posts page in wordpress?
- wp_nav_menu_items callback not triggered