Styling child items seperately from their parents

2 posts, 0 answers
  1. kilhoffer
    kilhoffer avatar
    40 posts
    Member since:
    May 2007

    Posted 23 Feb 2009 Link to this post

    I'm sure someone out there has ran into this before, so I thought I would ask here. We have a RadTreeView control that displays as the site's main menu. It will never need to show more than two levels of navigation. The problem I'm having is, I can't seem to reduce the font size for all child nodes. I'm editing the custom skin css file associated with the treeview, but to no avail. Note that I can set the overall font size, color, etc. for the entire treeview, but can't seem to pinpoint just the child nodes. How can this be done?

    Thanks in advance for your help on these great controls!
  2. Dimitar Milushev
    Dimitar Milushev avatar
    555 posts

    Posted 25 Feb 2009 Link to this post

    Hi kilhoffer,

    You can easily target the child nodes with the following selector:

            .RadTreeView .rtLI .rtLI
                /* Styles for child nodes */

    I hope this helps.

    Kind regards,
    Dimitar Milushev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. DevCraft R3 2016 release webinar banner
Back to Top