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

Font sizes in Telerik controls

1 Answer 109 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andrea
Top achievements
Rank 1
Andrea asked on 09 Mar 2011, 06:25 PM
What's the easiest way to set the font sizes for ALL telerik control to a single value? I believe you can control fonts by modifying the CC of a specific control, but that's a pain because I am using many different control types...

Thx

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 10 Mar 2011, 05:49 AM
Hello Andrea,


Since the embedded skins are applied per control, you need to change the css class for each AJAX control in your application to change the font.

For example, use the following css for grid control to change the font-family.
<style type="text/css">
        .RadGrid, .RadGrid 
        .rgMasterTable, 
        .RadGrid .rgDetailTable, 
        .RadGrid .rgGroupPanel table, 
        .RadGrid .rgCommandRow table, 
        .RadGrid .rgEditForm table, 
        .RadGrid .rgPager table, 
        .GridToolTip
        {
            font-family: Tahoma !important;
        }
</style>

Here is the forum which discusses about same: Overriding Fonts for All Controls



-Shinu.
Tags
General Discussions
Asked by
Andrea
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or