You are not defining a certain width to each item from the second list, you could use the following to modify the styling for the submenu:
ul li ul li {
float: none;
display: block;
width: 100%;
}
You could also try using CSS Grid or CSS Flex to accomplish the structure.
Related Posts:
- wp_nav_menu container style args
- How to add or remove borders in navigation menu?
- Multi Level Bootstrap Navigation Menu in WordPress
- Show only 2nd level of navigation depending on active navigation
- How to move parent li to end of child ul
- Custom Nav Walker sub-menu HTML construct
- Adding different classes to anchor in navigation menu
- how to automatically generate hierarchical menus from hierarchy of pages?
- How do i style the current menu anchor link’s parent anchor link? [closed]
- How to display dynamic content in start_lvl function
- How to insert custom code into wp_nav_menu structure?
- Menus like a CMS
- How to have custom menu Item CSS Classes for wp_page_menu() or wp_list_pages()
- How to add a submenu toggle button inside all “li” elements that have a submenu?
- Altering html structure and creating custom menus
- Check if menu id = $specific_id – then insert specific
- wp_nav_menu() with multiple Class
- Grey out nav buttons unless is_user_logged_in()
- Trying to Create Menu in WordPress
- How do I add recent posts to the menu?
- Automatically list top level menu item child pages
- Static page to one page- menu inactive items highlighted
- Check if menu_item has children or has parent
- Switch from hover to click on Twenty Twelve Menu
- How Do I Add Images To Main Navigation Menu
- Add a submenu to wp_nav_menu
- display menu as table layout
- Highlight parent if item from submenu is active
- Menu Arrow for Child Element
- How to add css to single navigation text? [closed]
- Adding toggle-able element after menu item
- Menu Custom Data Attributes
- How to Add support for sub-menu item description in wordpress?
- Odd spacing in Navigation Bar [closed]
- Controlling sub-menu within sub-menu
- Is there any way to change the CSS class applied to 2nd level sub menu ul’s?
- I’m trying to remove a duplicate menu, which only appears on the homepage?
- Add Different Class on Different Ul in twenty-twentyone theme
- Get Each Menu Nav Label of Menus in HTML tag
- Change hover to onclick on menu
- Add/remove image from navigation bar
- Bootstrap Theme Migrated to WordPress
- WordPress + Bootstrap: Replace primary navigation menu on mobile?
- How can I click the parent menu then redirect to a special URL?
- Creating navigation out of specific IDs and their children?
- Where to place a svg chevron down in my custom walker?
- Additional CSS for the nav menu
- Add href to tag in nav menu for mobile
- Disable Top Nav Bar on Mobile
- WordPress menu issue after update
- Adding span to a particular text in an menu item
- Responsive Dropdown Menu
- Conditional Nav Menu Inside Nav Menu Across Multisite Sites
- Always show wordpress submenu on responsive header menu
- Show Child of Parent Page including all other parents
- Active page link not getting class assigned
- nav_menu: how to force a subpage switching on the parent menu
- individual images as navigation design TwentyTen
- How was this menu system created?
- Display sub menus as separate lists
- Site navigation sits unstyled for a second on page reload [closed]
- Give custom class names to WP nav sub-menu
- Show current navigation path from menu
- Exclude one item from wp_list_pages( $args );
- Custom Post type menu highlighted in the archive/post
- Where is definied the theme location for the main menu in a WordPress template?
- How to fix “Supplied nav_menu_item value missing property” after update to WordPress 5.0
- No “current-menu-ancestor” class added when browsing an archive page
- Separator for custom nav menu
- add_submenu_page function to show videos table
- Conditional secondary menus
- Nav and logo loading each time causing menu to move JointsWP – Foundation 6
- Change submenu markup
- Using _s theme, menu changes do not affect header menu
- styling wp_nav_menu – horizontal, sub-menu drop downs
- Show children (sub-navigation) of active menu item only
- Add (grand)child pages automatically to nav menu
- Switch an entire nav menu if user is logged in
- How to modify mobile nav menu text in theme
- Display Menu Navigation Label
- Menu is not displaying on the site navigation [closed]
- Drop Down menu expanded by default (on front page) [closed]
- Updated WordPress, now Navigation is Messed Up
- Navbar is hidden behind carousel when using wp-boostrap-navwalker
- Menu walker: how to tell if a sub menu contains submenus?
- Active Current Menu – Adding class to child theme
- I can’t correctly display menu
- Add data-track to links in menu
- Is it possible to seperate wordpress menu by different div?
- How to add odd and even classes to all nav links through walker?
- Output sort number in wp menu list item?
- Check in walker if current page is descendant
- Customize Walker_nav_menu to show posts if item is category
- Where these arguments are defined?
- How do i keep my current page menu highlighted on pagination?
- Show All Children of WordPress Menu
- How to make an anchored page in a navigation menu tab
- Add “sub-nav” class to a sub menu parent item
- nav tag wrapping around dropdown
- Formatting WordPress Menus (without bullets, inline with text)