Cant change font family

2 posts, 0 answers
  1. Kevin
    Kevin avatar
    2 posts
    Member since:
    Jan 2012

    Posted 16 Apr 2012 Link to this post


    I need to change the font family for every node on my treeview. I used the example mention previously but it doesn't work.
    It only changes the font family for the root node and its first two children. All the other nodes remain unchanged.

    This is the code I used

    <style type="text/css">
            font-family: arial !important;
            font-size: 13px !important;
            color: red !important;

    Attached you will find a screen shot

  2. Ivan Zhekov
    Ivan Zhekov avatar
    538 posts

    Posted 17 Apr 2012 Link to this post

    Hi, Kevin.

    You could use a snippet like the following:

    html .RadTreeView_Default,
    html .RadTreeView_Default a.rtIn,
    html .RadTreeView_Default .rtEdit .rtIn input {
        /* code goes here */

    The html in the beginning is to make the snippet more specific, so you will not need to use !important directive.

    Ivan Zhekov
    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top