This module lets you add custom attributes like ID, class, style, and rel to individual menu items. This is useful for controlling SEO, styling specific links, or targeting them with JavaScript.
This simple module allows you to specify some additional attributes for menu items such as id, name, class, style, and rel.
You should use this module when
You want to "nofollow" certain menu items to sculpt the flow of PageRank through your site
You want to give a menu item an ID so you can easily select it using jQuery
You want to add additional classes or styles to a menu item
The module currently allows you to set the following attributes for each menu item:
Id
Name
Title
Target
Rel
Class
Style
Accesskey
Similar modules:
Ask your assistant about Menus attribute
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 8.x-1.3 | Stable | 8–10 | May 15, 2023 |