Hnto7127371
Posts: 0
Joined: Wed Sep 24, 2014 10:21 pm

Override font css

Hello,

I'm trying to override the the font of my application with my own font. It's working for all elements EXCEPT the label element.

This is my code:
code
@font-face {
font-family: din;
src: url(../image/din_pro.ttf);
}

html {
font-size: 100%;
}
body,
input,
select,
textarea,
button,
.ui-btn {
font-family: din /{global-font-family}/ !important;
}

.ui-mobile label, .ui-controlgroup-label {
font-family: din /{global-font-family}/;
}
/code

Al of my elements are being replaced with my font but the label still only has the four basic fonts in the builder.

Any ideas? Thanks!

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Override font css

Hi,

Please also add codediv/code to a CSS selector.

Hnto7127371
Posts: 0
Joined: Wed Sep 24, 2014 10:21 pm

Override font css

Hello Kateryna,

Thank you very much!

Return to “Issues”