How to specify or extend the CSS-class of a menu item?

is there a way to allow admin users to add classes to individual menu items in the back end? we have done some individual javascripting and CSS using the title tag, but that is not flexible as it is visible to the end user, so the method is not suited effects needed to be applied to multiple items.

Related posts

Leave a Reply

1 comment

  1. This is natively supported by WordPress. In the menus page, click “Screen Options” (in the upper right corner):

    Screen Options

    Then check “CSS Classes”:

    Check CSS Classes

    You will now have a “CSS Classes” Option for each menu item:

    Enter CSS Classes