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

Styling Problem

1 Answer 41 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Kurt Kluth
Top achievements
Rank 1
Kurt Kluth asked on 10 May 2016, 03:20 PM

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
    }
}

1 Answer, 1 is accepted

Sort by
0
Accepted
Magdalena
Telerik team
answered on 11 May 2016, 08:11 AM
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.
Tags
TreeView
Asked by
Kurt Kluth
Top achievements
Rank 1
Answers by
Magdalena
Telerik team
Share this question
or