Well, the answer depends on what you mean by “custom dropdown only for the first menu item which is different from the other item dropdowns” – different how? If it’s just stylistic, that extra class should be enough. You just have to make sure the css for it is specific enough to override the defaults. So if your css selectors on the other dropdowns are
.nav li.has-children a{ ... }
.nav li.has-children>a { ... }
.nav li.has-children:hover .subnav { ... }
then to override them for just that first item, if I’m understanding your nav markup right, you’d need something like this (after your existing css):
.nav li.settingsitem a { ... }
.nav li.settingsitem > a { ... }
.nav li.settingsitem:hover .subnav { ... }
Related Posts:
- Any docs for wp_nav_menu’s “items_wrap” argument?
- Does Extending Multiple Nav_Menu_Walkers Allow Nested Menus?
- Bootstrap dropdown nav pills not working with wp_nav_menu()
- Show child pages by menu order using Superfish Dropdown menu?
- Bootstrap drop down menu with wp_nav_menu
- How do I give class to the dropdown sub-menu in the wp_nav_menu?
- How to Create a Custom WordPress Navigation Menu with the Code?
- WordPress 3.5 dropdown menu
- Menu item with no page, but with dropdown
- Add css class to dropdown
- Using a shortcode to create a dropdown menu from wp_nav_menu list items
- Menu in left side don’t appears with dropdown
- getting the current sub item out of total sub items in a given dropdown (custom walker)
- How to add html attributes to the “ul” html tag with “wp_nav_menu” function?
- How to remove dropdown from wp_nav_menu
- styling wp_nav_menu – horizontal, sub-menu drop downs
- Replace the slug of parent pages with # [closed]
- wp_get_archives doesn’t take effect from css or html
- Adding archive years to my menu
- Nav menu classes ‘has-dropdown’ but no ‘active’
- Drop Down menu expanded by default (on front page) [closed]
- dropdown menu, with walker
- Dropdown primary navigation menu not working
- Is there any way to change the CSS class applied to 2nd level sub menu ul’s?
- WordPress menu issue – if there are child links partents won’t click
- How can I create this menu with wp_nav_menu()?
- Responsive Dropdown Menu
- Foundation Scripts not loading (custom theme)
- Reveal hidden submenus on page load – Twenty Fifteen theme
- No indication of menu
- wp_dropdown_nav function to list menu items
- How to make a drop down menu with categories
- How to add an tag when a menu item is a dropdown(or has a sub-menu) [duplicate]
- How to add posts with thumbnails to my dropdown menu?
- Should I custom code drop down menus or use a wordpress plugin?
- Keeping my Sub Menu open when hovering on its list items
- Jquery dropdown menus working locally, but not in WordPress [duplicate]
- Add a page to a subscribers account
- What is the best way to incorporate responsive dropdown navigation menu into custom theme?
- Menu items do not “open” when mouse hover over them?
- Icon not shown in Dropdown menus in Twenty Seventeen Theme
- Customizing Only a Specific Menu using the “wp_nav_menu_items” Hook?
- How make top level menu item not have link, but have sub-menus that are linked?
- How to Hard Code Custom menu items
- How to stop mobile theme inheriting desktop navigation menu?
- How do I add the data-toggle=”modal” data-target=”#myModal” attribures to a WP Nav bar?
- How to switch between the Primary Menus programmatically?
- if role is logged in then do something
- Nav menu items disappearing (but not immediately)
- custom menu not found
- How to add text before WordPress menu item href
- Nav walker, bootstrap: Display 3rd level items under 2nd level
- Remove nav_menus from customizer using a theme
- display only the wp_nav_menu, which has the current-menu-item
- Add tabindex to navmenu
- wp_list_pages sort order is different for different languages [closed]
- I’m having a lot of trouble since upgrade to 3.0.1 with get_page_children() function
- How can I add a link to a WPForms “contact us” form to the main menu?
- Create search form in menu as in Twenty Fourteen theme
- Add link at the end of wp_nav_menu
- WP Menu Walker – How to know total depth from inside the start_lvl() method
- How do I add recent posts to the menu?
- Conditional secondary menus
- Creating a menu containing categories and authors
- Can’t add a setting to the “nav_menus” customizer panel
- Use another menu when logged in
- How to remove UL class in wp_nav_menu?
- Displaying menu based on login status
- Adding an external link to wordpress menu
- Highlighting top level link when viewing one of it’s sub-pages, which are not linked in the menu
- Make menu items open in new tab/page
- Adding top level items in the admin menu that link to a post
- How do I hide “Pages”, “Media”, “Comments”….for editor role?
- Twenty Fifteen: Change navigation menu behavior
- Need a menu on left sidebar of the page with below requirements [closed]
- add login menu with submenu
- How to make top level menu think it has a current item
- Generate Navbar In WordPress
- Wrap wp_nav_menu output around option tags for select menu
- What’s the best way to customize the WordPress Menu Page (in admin)
- Catagorized hierarchy menu for PAGES!
- Event listener callback returns undefined element
- Add class to sub-menu from unrelated element
- Add CSS Class to WordPress Menu Item Dependent on the Page the User is Visiting
- Menu walker: how to tell if a sub menu contains submenus?
- How do i make a custom top level dashboard menu item available for all users?
- PHP drop down menu for my get_category child of
- Walker or wp_get_nav_menu_items VS jQuery
- I can’t correctly display menu
- Disappearing items in menu
- Where these arguments are defined?
- Menu support for touch devices
- WordPress Flyout Menus
- Open WordPress Page from selected option dropdown
- highlight parent page on menu when child page is on sidebar (and not on menu)
- How to add custom menu to block theme?
- get menu name for the current displayed page
- One item on menu is not clickable when it should be
- Critical Error when editing menu
- I need to change the hyperlink attached to the logo on the mobile menu