3 Answers, 1 is accepted
0
Hi Doug,
You can use CSS to increase their font size and if you want some granularity (as that can affect a lot of components and places), you can cascade through a parent class. Here's an example:
<style>
.my-specific-icon-container .k-icon,
.my-specific-icon-container .k-icon::before {
font-size: 48px;
width: 48px;
height: 48px;
}
.k-icon,
.k-icon::before {
font-size: 64px;
width: 64px;
height: 64px;
}
</style>
<div class="my-specific-icon-container">
<TelerikIcon Icon="@IconName.Audio" />
</div>
<TelerikIcon Icon="@IconName.Audio" />
Regards,
Marin Bratanov
Progress Telerik
0
George
Top achievements
Rank 1
Veteran
answered on 25 Nov 2020, 06:58 PM
It would be awesome if you fixed the TelerikIcon IconClass property.
0
Hello George,
What is the exact problem you are having with this parameter? I'm attaching here a screenshot from the way the sample from the docs works in the default project template.
<TelerikIcon IconClass="oi oi-home" /> @* home icon from OpenIconic, assuming you have loaded the font on the page, you can use your own CSS classes and font icon fonts *@
Regards,
Marin Bratanov
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.