Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Menu > change font colour for root items only

Answered change font colour for root items only

Feed from this thread
  • martin avatar

    Posted on Jan 26, 2012 (permalink)

    hi

    This is probably really simple but I can't work it out, how do you set a different colour for the root items and the child items? I basically want white text for the root and black text in the child items.

    Thanks
    Martin.

    Reply

  • Answer Princy MVP avatar

    Posted on Jan 27, 2012 (permalink)

    Hello,

    Try the following CSS.
    CSS:
    .RadMenu .rmVertical .rmText, .RadMenu .rmHorizontal .rmVertical .rmText
         {
             color:Black !important;
         }
    .RadMenu_Default .rmHorizontal .rmRootLink span.rmText
         {
             background:Black !important;
             color:White !important;
         }

    Thanks,
    Princy.

    Reply

  • martin avatar

    Posted on Jan 27, 2012 (permalink)

    thanks, that worked.

    just what I needed.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Menu > change font colour for root items only
Related resources for "change font colour for root items only"

[  ASP.NET Menu Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial  ]