I set the following in the CSS for my TreeView but it is affecting ALL of the nodes not just first node. See attached
.RadTreeView_tree_2 .rtFirst
{
font-size: 12pt;
font-weight: bolder;
font-style: italic;
}
4 Answers, 1 is accepted
0
Princy
Top achievements
Rank 2
answered on 27 Jan 2012, 05:45 AM
Hello,
I have tried the same and it worked as expected. I am using version 2011, 3, 1305, 35. Here is the screenshot.
CSS:
Thanks,
Princy.
I have tried the same and it worked as expected. I am using version 2011, 3, 1305, 35. Here is the screenshot.
CSS:
.rtFirst
{
font-size
:
12pt
!important
;
font-weight
:
bolder
!important
;
font-style
:
italic
!important
;
}
Thanks,
Princy.
0
Tonyz289
Top achievements
Rank 1
answered on 27 Jan 2012, 03:23 PM
I see. However I want just the root node bold, and italic, like this.
0
Accepted
Hi Tony,
Try the following selector:
Kind regards,
Bozhidar
the Telerik team
Try the following selector:
.rtFirst>div
{
font-size
:
12pt
!important
;
font-weight
:
bolder
!important
;
font-style
:
italic
!important
;
}
Kind regards,
Bozhidar
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
0
Tonyz289
Top achievements
Rank 1
answered on 27 Jan 2012, 04:47 PM
That did it. Thanks