Hi - I've been following your excellent guide for using a custom icon (http://docs.kendoui.com/getting-started/mobile/icons) but haven't been able to get this to work. I've downloaded a font from Fontello as suggested and have added the following style rules:
I have the following markup which should be displaying the custom icons:
When I try to view my page, I see the tabstrip but not the custom icons, just two square buttons. Any suggestions as to what I'm missing would be appreciated.
Thanks!
@@font-face {
font-family
:
"fontello"
;
src
:
url
(@Url.Content(
"~/Content/font.ttf"
)
format
(
"truetype"
),
url
(@Url.Content(
"~/Content/font.woff"
)
format
(
"woff"
);
}
.km-androidicon:after
.km-androidicon:before {
content
:
'\26'
;
}
.km-appstoreicon:after
.km-appstoreicon:before {
content
:
'\41'
;
}
<
div
data-role
=
"layout"
data-id
=
"mobile-tabstrip"
>
<
div
data-role
=
"footer"
>
<
div
data-role
=
"tabstrip"
>
<
a
href
=
"#tabstrip-iOS"
data-icon
=
"androidicon"
>iOS</
a
>
<
a
href
=
"#tabstrip-Android"
data-icon
=
"appstoreicon"
>Android</
a
>
</
div
>
</
div
>
</
div
>
Thanks!