Project

General

Profile

Actions

Support #1830

closed

How i can remove Wt styles classes from menu ?

Added by Евгений Илюшин over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
04/11/2013
Due date:
% Done:

0%

Estimated time:

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 ?

Actions #1

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.

Actions #2

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

Actions #3

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

Actions #4

Updated by Koen Deforche over 11 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF