I am developing a website using drupal and i need to know about how to add link to drupal menu anchor.

For example:

i have a drupal menu: user menu. Within user menu, i have several list of links, let's say: A, B, C, D.

Then, i want to add class/id for each of the anchor, such as: A

Thank you.


You can do that by using Menu Attributes module.

This simple module allows you to specify some additional attributes for menu items such as id, name, class, style, and rel.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.