This question is locked. New answers and comments are not allowed.
Hi
I have been trying to apply a custom icon set using .woff and .ttf files built using fontello. I have followed the tutorial from here:
http://webcache.googleusercontent.com/search?q=cache:http://docs.kendoui.com/getting-started/mobile/icons
but i cannot get things to work. When my app is displayed for both iphone and android the new icon is displayed as a square, where a properties icon should be displayed.
Here is my sample code, where the data-icon align-justify is the new icon:
<div data-role="layout" data-id="default" id="layout">
<header data-role="header">
<div data-role="navbar"><a href="#drawer" data-rel="drawer" data-icon="align-justify" data-align="left" data-role="button"></a>List</div>
</header>
<!--View content will render here-->
<footer data-role="footer">
<div data-role="tabstrip">
<a href="#home" data-icon="home">Home</a>
<a href="Views/about.html">About</a>
</div>
</footer>
</div>
And here are my styles:
@font-face {
font-family: "fontawesome-webfont";
src: url("fonts/fontawesome-webfont.woff") format("woff"),
url("fonts/fontawesome-webfont.ttf") format("truetype");
}
.km-icon:after,
.km-icon:before
{
font: 1em/1em "fontawesome-webfont";
}
Please can you tell me if this is a bug or where i am going wrong.
Thanks
I have been trying to apply a custom icon set using .woff and .ttf files built using fontello. I have followed the tutorial from here:
http://webcache.googleusercontent.com/search?q=cache:http://docs.kendoui.com/getting-started/mobile/icons
but i cannot get things to work. When my app is displayed for both iphone and android the new icon is displayed as a square, where a properties icon should be displayed.
Here is my sample code, where the data-icon align-justify is the new icon:
<div data-role="layout" data-id="default" id="layout">
<header data-role="header">
<div data-role="navbar"><a href="#drawer" data-rel="drawer" data-icon="align-justify" data-align="left" data-role="button"></a>List</div>
</header>
<!--View content will render here-->
<footer data-role="footer">
<div data-role="tabstrip">
<a href="#home" data-icon="home">Home</a>
<a href="Views/about.html">About</a>
</div>
</footer>
</div>
And here are my styles:
@font-face {
font-family: "fontawesome-webfont";
src: url("fonts/fontawesome-webfont.woff") format("woff"),
url("fonts/fontawesome-webfont.ttf") format("truetype");
}
.km-icon:after,
.km-icon:before
{
font: 1em/1em "fontawesome-webfont";
}
Please can you tell me if this is a bug or where i am going wrong.
Thanks