Apply different classes to certain items in drop down
I need to be able to draw the users attention to certain items in the drop down menu more-so than others.
In other words, I would like to display some of the items that I retrieve from the server differently than others. In particular parent categories should appear differently to children. I would like to accomplish this by applying different classes through which I can add icon images and colours.
This is where I’m stuck. How can I apply class A to parent categories, and class B to children?
Any help hugely appreciated.
- The topic ‘Apply different classes to certain items in drop down’ is closed to new replies.