Change Menu Item Color

4 posts, 0 answers
  1. John
    John avatar
    24 posts
    Member since:
    Jan 2011

    Posted 04 May 2012 Link to this post

    I have a menu of requirements and I want to change the text or background color for requirements that are no longer current.

    How can I do this in code behind?
  2. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 07 May 2012 Link to this post

    Hi John,

    Can you clarify if you need to change the background color of the child items or the root items of the RadMenu control?

    Kind regards,
    Kate
    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
  4. John
    John avatar
    24 posts
    Member since:
    Jan 2011

    Posted 07 May 2012 Link to this post

    The root items...
  5. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 08 May 2012 Link to this post

    Hi John,

    To change the background color of the menu root item you can use the following css class selector:
    div.RadMenu_Default .rmRootGroup
           {
               background-color: red;
               background-position: 0 -458px;
               border: 0px solid #828282;
           }

    Regards,
    Kate
    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.
Back to Top