Styling Problem

2 posts, 1 answers
  1. Kurt Kluth
    Kurt Kluth avatar
    148 posts
    Member since:
    Oct 2009

    Posted 10 May 2016 Link to this post

    We were given the below style from a marketing firm who is redesigning our primary website.  It is needed for other area's of the site but it breaks the styling within our RadTreeView.  Without changing the below style how can we get our RadTreeView back to normal?  I have attached what is happening when the style is applied.

    .page-content li,
    .page-content p,
    .page-content ul {
        font-size: 1.1rem
    }
     
    @media screen and (min-width:40em) {
        .page-content li,
        .page-content p,
        .page-content ul {
            font-size: 1.5rem
        }
    }

  2. Answer
    Magdalena
    Admin
    Magdalena avatar
    442 posts

    Posted 11 May 2016 Link to this post

    Hi Kurt,

    Applying the following CSS rules will overwrite your custom one:
    .RadTreeView li {
        font-size: 14px;
    }

    If this rules are placed before your custom, you should use the following:
    html .RadTreeView li {
        font-size: 14px;
    }


    Regards,
    Magdalena
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top