The simple way would to add the css class to the individual titles in the wp-admin/menus section.
First, go to the screen options and select the css checkbox:
Next, open the menu item and give it a class. In my example it would have the class .home-page:
Related Posts:
- Add Javascript to WordPress Menu
- Add custom menu item using wp_nav_menu_items filter
- Custom search filter causes menu and query_posts problems
- Add separator to admin submenu
- register_nav_menus() won’t register menus
- How do I add nested categories to drop-down menu in twenty-eleven?
- Add custom page link with anchor
- Show only 2nd level of navigation depending on active navigation
- Using string instead of object class instantiation on the walker argument breaks wp_nav_menu
- How can I show different menu for different pages?
- Menu is invisible in admin panel but it’s visible in front-end [closed]
- How to create a custom menu item
- How to specify or extend the CSS-class of a menu item?
- Main menu – get rid of titles?
- How to change Twenty Seventeen theme’s navigation bar location?
- Indirect modification of overloaded property WP_Post::$classes has no effect
- Create Dropdown menu Using wp_nav_menu() function
- Update Nav Menu Items Programmatically
- How to add a CSS class to the tooltip on a navigation menu?
- Top Menu showing as Plain text before page load [closed]
- Add a class to the body tag when a menu is enabled
- how to change the output of wp_nav_menu using css classes
- Manage custom menu for an Editor?
- How to get the name of the parent menu if the current page is an archive page in a custom menu
- How do I check menu slug in WordPress?
- vertical menu bar
- Add class active to static menu
- Update body class based on menu
- How to add fixed position in menu class for Twenty Twelve theme?
- How do I separate link levels in a custom menu walker?
- Possible Menu Hack?
- How to set my main menu items
- Allow users with Editor role to edit menus (without a plugin)
- Add custom links like functionality
- I need my dropdown sub-sub-menu box to show sub-menu title above
- Sorting child item of navigation menu using code in wordpress
- I want to hide the navigation menu on a particular page
- Difference between walker class and basic php
- Change hyphen/dash for vertical line in menu [closed]
- Allowing HTML in Menu Descriptions
- How to add class to parent a tag with a sub menu
- Listing Child Pages in a Certain Order?
- WordPress + Bootstrap [closed]
- wp_nav_menu action/filter help
- Trying to add a custom social icon to a Twenty Twenty-One child theme
- How to hide a menu from public, but share content with a private link [closed]
- Navigation menu not visible (contrast issue) on home page
- Tageting a specific menu link with nav_menu_css_class
- Full screen nav menu block with avada theme
- functions.php adding item to end of menu. I want to change position
- WordPress menu>Custom Link: removing my link formatting and adding %20
- Custom Menu Anchor Links Not Working
- WordPress Menu Exchange for Mobile Layout
- Switching to child theme breaks menu names
- Wp_list_pages not showing children with custom page template
- How to check if current page is a parent item or child item in a given menu
- How to implement a secondary menu?
- Buggy wp_nav_menu?
- Styling issue with custom menus and sub menus
- When I click a custom menu link, how do I make it update the URL in the browser to the external link?
- Disabling tooltip on menu items
- Divide Menu into Separate Menus and Display them Side by Side
- Hook or callback when wp_nav_menu() has completed
- if role is logged in then do something
- Set one or more menus as a submenus of another menu
- How to show submenu of any page in main menu
- WP Menu Rollover Nav Item and Effect DIV Elsewhere
- How to change the navigation menu
- Menu links URL with PHP GET method
- WordPress nav_menu items from another menu appearing
- How to create a mobile menu full screen overlay using Understraps Bootstrap 4 theme
- adding drop down menu item to existing menu
- Jump to section on another page from menu item
- How to Hide/Remove Pages section in Menus (Dashboard)
- Unable to remove page from primary menu
- Users are required to login to my site. How define user.member boolean, its permissions, and conditionally display/handle behavior based on it
- How to Use Default Auto-Generated Menu?
- How to sort a sub-menu, generated with get_pages(), by the page order instead of alphabetically?
- wp-nav menu with custom walker , how to remove a tag if it has any submenu
- Two questions about CSSing inside the menus
- Different menu on different category need advice
- Always show wordpress submenu on responsive header menu
- Is there any way to recover deleted menu from database sql backup
- Showing a link with Javascript based on log-in status
- Placing generated list into drop-down on custom menu
- How to make a drop down menu with categories
- How to use my custom menus as seperate pages?
- Building Menus with the latest posts included
- Cannot control wp_nav_menu properly
- WordPress wp get nav menu items does not deliver external link
- wp_nav_menu changed to wp_page_menu
- how to assign an ID to a wordpress menu
- Site pages show the page title under navigation bar
- Keeping my Sub Menu open when hovering on its list items
- How to change the markup created by menu item only on chosen items?
- How to disable permalink of a particular menu item?
- Active Navigation Class Based on URL on icon
- Rename Menu icon in Twenty seventeen theme
- WordPress Menu – Adding a new dynamic element to the menu
- One item on menu is not clickable when it should be