Better way is put:
wp_nav_menu( array('menu' => 'Top menu','menu_class' => 'top_menu'));
And then force your html classes to wordpress, or simply 5 min rewrite css rules, classies names for wordpress.
WordPress uses ul li ul li ul li, and so on structure, and there is no problem to fix it.
Related Posts:
- Edit HTML of WordPress navigation bar
- Adding dropdown box to WordPress menu
- Foundation 5 Dropdown Top Bar not working in WordPress
- Navigation dropdown issue, need it to work on hover
- Navigate to an anchor on another page
- WordPress Admin Bar Overlapping Twitter Bootstrap Navigation [closed]
- wp_nav_menu: check if the list item has children and add a class to anchor link
- Remember the last post I read
- Export navigation menu
- Prev/Next child navigation for current page?
- List child pages of a specific page
- Bootstrap dropdown nav pills not working with wp_nav_menu()
- Using FlexNav with WordPress [closed]
- Customizing Walker_Nav_Menu
- Get only the path from a function like previous_post_link
- Break apart wp_list_pages in order to customise it
- How to Create a Custom WordPress Navigation Menu with the Code?
- Dropdown list of a custom post type
- Text symbols in the navigation menu
- Trouble with wp_nav_menu, conditional tags and fallback_cb
- Previous & Next on Index Page broken
- Twenty Eleven theme- have custom landing page, change nav “home” link
- Using query_posts inside single.php loop
- posts_nav_link on single.php
- How to get back to same page of post-list – after updating a post
- how to change site tag line for particular pages
- dropdown navigation menu
- How to add show/hide in navigation setting for pages
- How Do I Add Next and Previous Links On Single Custom Post Type Only?
- Menu with parents, children and or siblings pages display
- Inserting specific images inside navigation menu
- Select first child/subpage item in wp list pages
- Fallback_cb is messing around with containers
- Only show top-level links in site navigation
- Easiest way to add dropdown to a page
- WordPress – Responsive navbar doesnt work
- get_adjacent_post – in same term or category not working
- Exclude post format from navigation
- How to make previous_post_link into an image [duplicate]
- How to add swipe action to wordpress pages
- Can I use multiple nav_walkers?
- (Bluehost) navigating to the dashboard via mydomain.com/wp-admin/ results in directory listing
- Implementing the twentythirteen responsive menu in twentytwelve
- Using characters to separate menus in navigation bar
- How to add html attributes to the “ul” html tag with “wp_nav_menu” function?
- How to remove dropdown from wp_nav_menu
- Switch form Next/Previous to post title
- custom header navigation has odd spacing [closed]
- add a menu item to navigation menu to link to external url
- Using categories on navigation bar instead of pages
- confused about wp_list_pages() function – how to display selected top pages with all their subpages
- Display greyed out nav link when there’s not a next or previous post
- Ecommerce Single Product Next Product Link
- Display all posts thumbnails when viewing a single post
- Is wp3.8 / twenty fourteen’s Sticky Nav & Responsive – core or theme based
- Add ID to target navigation link
- New Page Position
- Possible to hide Page if no posts from a CPT?
- Listing Sub-Pages & Sub-Sub-Pages
- Next/Previous links doesn’t work in the same category
- the-events-calendar, pagination with tribe_get_events()
- only show children of a nav menu
- Depth problem using wp_list_pages for subnavigation
- Faceted Navigation in WordPress
- WordPress change wp_nav_menu walker with a custom one
- Get Each Menu Nav Label of Menus in HTML tag
- Navigating WordPress Articles From Parent Category?
- How to replace home link anchor text with image
- is_tax() conditional tag not working
- WP Bootstrap Nav (not JS, not missing ID)
- Show archives as a drop-down in the main navigation menu
- Dynamic next and previous post links
- How to echo site url if not on index.php while using anchor based nav
- Active state does not work with the query string in the url
- Pagination always shows 0 in post section wordpress admin panel
- How can I create this menu with wp_nav_menu()?
- Current Post Parent Category & Child Category Links
- Responsive Dropdown Menu
- Problem with sub-menu container
- Navigation template
- Category navigation template
- Connect custom rewrite rules and query variables to wordpress navigation
- How to remove anchor of current menu item in navbar?
- Walker_Nav_Menu Add Strings and Class Name
- Adding direct link to post editor in admin menu
- Add default wp_nav_menu classes to my custom links
- Forcibly show previous/next links
- wp_dropdown_nav function to list menu items
- Adding nav menu name from plugin options dynamically
- How to accomplish a child page navigation?
- Using Different nav_menu_css_class for different nav_walkers
- How to retain responsive navigation menu in twentyeleven child theme
- Custom navigation bar via wp_list_pages is broken for blog roll
- All of the “more results” and navigation links lead to a 404 error
- How can I hide the TOP Navigation menu if users are not logged in [duplicate]
- determine if specific page is in list?
- Different coloured navigation links in Twenty Eleven themes
- add additional anchors in navigation menu
- Open WordPress Page from selected option dropdown
- I would like to hide menu on desktop but still have it visible on small screen