Support #1830
closedHow i can remove Wt styles classes from menu ?
0%
Description
I set own classe but after render i watch, class name "item" and "subitem "
How i remove Wt styles class from menu ?
Me need get clean menu item element without Wt style classes and set own style classes.
What i have to do ?
Updated by Евгений Илюшин over 11 years ago
Sorry for my bad English. Maybe it will be set out more clearly.
I want to set my own class but after the render I watched class names "item" and "subitem" remain unchenged. How do I remove WT style classfrom the menu? I need to get a clean menu without WT style classes and to set my own style classes.
Any help would be greatly appreciated.
Updated by Koen Deforche over 11 years ago
Hey,
These style classes are set by the theme but do not have associated style information with it so I don't see why you really must have them removed ?
You can add your own styles by implementing your own theme (or specializing an existing theme).
Regards,
koen
Updated by Koen Deforche over 11 years ago
- Status changed from New to Resolved
- Assignee set to Koen Deforche
- Target version changed from 3.3.0 to 3.3.1
Hey,
WMenuItem will now leave the style classes that you set on it.
koen
Updated by Koen Deforche over 11 years ago
- Status changed from Resolved to Closed