0

I'm looking for a way to add an extra class to a specific menu item in my main menu. I see ways to add classes to the entire menu, but not one specfic item. Can someone point me in the correct direction.

This is for Drupal 7.

4

You probably want to install Menu Attributes.

The module currently allows you to set the following attributes for each menu item: Id, Name, Target, Rel, Class, Style, Accesskey

| improve this answer | |
  • I looked at this module, but it seems to apply to all menu items. I want to apply an extra class to a specific menu item. – Baybook May 31 '13 at 3:15
  • Well it shouldnt. See this video by its author (i've jumped to the relevant part at 1:40 for you) youtube.com/… – tenken May 31 '13 at 3:32
  • sure no problem. you may want to "accept" the answer if it meets your needs so others know its a valid solution without reading through comments. – tenken Jun 19 '13 at 17:05
  • I tried, but looks like I can't accept answers. – Baybook Jun 25 '13 at 17:32

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.