6 Answers, 1 is accepted
0
Hi Voss,
You can customize the appearance of the badge using custom CSS rules. As an example:
Regards,
Iliana Nikolova
Telerik
You can customize the appearance of the badge using custom CSS rules. As an example:
.km-ios .km-badge,
.km-ios
7
.km-badge,
.km-blackberry .km-badge,
.km-android .km-badge,
.km-wp .km-badge,
.km-flat .km-badge{
min-width
:
2.2em
;
height
:
2.2em
;
line-height
:
2.2em
;
top
:
0
;
}
Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Voss
Top achievements
Rank 1
answered on 14 Aug 2014, 12:33 PM
Iliana,
I copied that into my site.css, but do not see any difference in my badges.
Can you supply a small example?
thanks.
I copied that into my site.css, but do not see any difference in my badges.
Can you supply a small example?
thanks.
0
Hi Voss,
Here is a simple example which demonstrates the suggested solution is action. If you still experience any issues please modify the example and demonstrate your current implementation - this way I would be able to check what exactly is going wrong and provide concrete recommendations.
Regards,
Iliana Nikolova
Telerik
Here is a simple example which demonstrates the suggested solution is action. If you still experience any issues please modify the example and demonstrate your current implementation - this way I would be able to check what exactly is going wrong and provide concrete recommendations.
Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Voss
Top achievements
Rank 1
answered on 15 Aug 2014, 12:59 PM
Can you provide an example without the var app = new kendo.mobile.Application(document.body);?
I cannot get the demo work without the mobile app part.
thanks.
I cannot get the demo work without the mobile app part.
thanks.
0
Voss
Top achievements
Rank 1
answered on 18 Aug 2014, 01:07 PM
If I remove this var app = new kendo.mobile.Application(document.body); it does not work.
0
Hello Voss,
In this case you can use the following CSS rule:
Here is the updated example.
Regards,
Iliana Nikolova
Telerik
In this case you can use the following CSS rule:
.km-badge{
min-width
:
2.2em
;
height
:
2.2em
;
line-height
:
2.2em
;
top
:
0
;
}
Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!