ASP.NET RadMenu hover color

2 posts, 0 answers
  1. Ahmed Ilyas
    Ahmed Ilyas avatar
    51 posts
    Member since:
    Feb 2010

    Posted 04 Apr 2013 Link to this post

    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.
  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 08 Apr 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top