This is a migrated thread and some comments may be shown as answers.

Styling child items seperately from their parents

1 Answer 36 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
kilhoffer
Top achievements
Rank 1
kilhoffer asked on 23 Feb 2009, 08:50 PM
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!

1 Answer, 1 is accepted

Sort by
0
Dimitar Milushev
Telerik team
answered on 25 Feb 2009, 12:52 PM
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.
Tags
TreeView
Asked by
kilhoffer
Top achievements
Rank 1
Answers by
Dimitar Milushev
Telerik team
Share this question
or