This is a migrated thread and some comments may be shown as answers.

ASP.NET RadMenu hover color

1 Answer 158 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Ahmed Ilyas
Top achievements
Rank 1
Ahmed Ilyas asked on 04 Apr 2013, 11:46 PM
Hi.
how can I change the hover color via css (if possible) when the user is hovering over submenu items?
So currently it appears to be white but I would like to change this to say... blue.

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 08 Apr 2013, 02:26 PM
Hello,

Indeed you are able to add css styles only to the sub menu items and remain the default styles for your root items. The following css rule will apply green color to the text of all sub menu items and will keep the black color for the root items.
//css
<style type="text/css">
        html .RadMenu .rmGroup .rmItem a.rmLink {
            color: green;
        
    </style>

Here you may find more information about RadMenu css selectors and how you can use it. 

All the best,
Boyan Dimitrov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Menu
Asked by
Ahmed Ilyas
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or