change font colour for root items only

3 posts, 1 answers
  1. martin
    martin avatar
    16 posts
    Member since:
    Sep 2008

    Posted 26 Jan 2012 Link to this post

    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.
  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 27 Jan 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. martin
    martin avatar
    16 posts
    Member since:
    Sep 2008

    Posted 27 Jan 2012 Link to this post

    thanks, that worked.

    just what I needed.
Back to Top