Change font family with jquery mobile

without jq this works http://jsfiddle.net/AaT9b/17/

and not with him http://jsfiddle.net/AaT9b/16/

can this be changed by adding a new theme using themeroller?

+4
source share
1 answer

jquery.mobile-1.0.1.min.css CSS includes the following:

.ui-body-c, .ui-body-c input, .ui-body-c select, .ui-body-c textarea, .ui-body-c button { font-family: Helvetica,Arial,sans-serif; } 

This is the spelling of inline css.

So, if you give you an inline style of a higher value, it will work:

 body .ui-body-c{ font-family:"Lucida Grande"; font-size:200%; } 

See - http://jsfiddle.net/AaT9b/19/

+11
source

Source: https://habr.com/ru/post/1402683/


All Articles