This question is locked. New answers and comments are not allowed.
How can I remove the t-state-hover on the menu parent only.
I would like the hover class to be applied on the child items in each of the drop menus though, just want to remove it out of the main menu only.
I would like the hover class to be applied on the child items in each of the drop menus though, just want to remove it out of the main menu only.
6 Answers, 1 is accepted
0
Hi Gabe,
the Telerik team
The hover state is applied always when the user hovers a menu item. Modifying this behavior would require modification of the source code to exclude the root items. I see only one workaround - modifying the skin so the hover style looks the same as the default one for the first level items only.
Regards,
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Gabe
Top achievements
Rank 1
answered on 18 May 2011, 06:19 PM
How can I change this for only the parent when the same style is also applied to the children.
Can you give me an example?
Can you give me an example?
0
Hi Gabe,
Atanas Korchev
the Telerik team
Which skin are you using? We will provide the right CSS rule overrides depending on that.
Regards,Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Gabe
Top achievements
Rank 1
answered on 19 May 2011, 02:46 PM
I am using the simple skin
0
Accepted
Hello Gabe,
You can use the following CSS code to override the Menu's root items' hover styling:
Kind regards,
Dimo
the Telerik team
You can use the following CSS code to override the Menu's root items' hover styling:
/* prevent background color change */.t-menu>.t-item>.t-state-hover{ background:transparent;}/* prevent arrow color change */.t-menu>.t-item>.t-state-hover>.t-arrow-down{ background-position:-16px -176px;}Kind regards,
Dimo
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Gabe
Top achievements
Rank 1
answered on 19 May 2011, 04:59 PM
Worked perfect, thank you.
