Home › Forums › Air WordPress Theme › webfont not working on mobile
- This topic has 17 replies, 2 voices, and was last updated 7 years, 8 months ago by
SeaTheme.
-
AuthorPosts
-
May 12, 2018 at 9:29 pm #15193
Hey,
so far loving your theme. I just have an issue with a webfont that i’ve bought. It’s loading completely fine on desktop, but won’t show on mobile. It’s loading “Roboto” from Google Fonts instead. Any ideas?May 14, 2018 at 1:07 am #15196Hi,
Please leave your page URL, I will test it, thanks!
Regards!
Bwsm – uiueux.com – Twitter – FacebookMay 14, 2018 at 9:11 am #15203Hi,
here is the url:
http://work.sueperdesign.com/klebebande2018Typeface is called “Jaroslav”
Thank You!
May 15, 2018 at 6:09 am #15207Hi,
I checked your web page. The font works on ios, doesn’t work on android.
I did not see any issue report, it is really strange thing. I googled many pages but found nothing.
I guessed the it doesn’t load font files from myfont(http://hello.myfonts.net/count/369c61) only on android.I created a demo page with @font-face here(the font files hosted on my own server), it works on android.
I suggest you host the font files on your own host server also.The screenshots of my demo page:


Regards!
May 15, 2018 at 6:15 am #15209This reply has been marked as private.May 15, 2018 at 9:51 am #15212This is strange, because it used to load on android, too. All of a sudden it stopped. Maybe it happened while playing around in css to render the fonts nicely.
Thanks for trying to solve the problem.
May 15, 2018 at 9:58 am #15213Happy you like it. I will talk to my partners about it and will then let you know.
Cheers
HauMay 15, 2018 at 10:27 am #15214Hi,
i just found out what might be the reason.In custom css, when i put in these lines (from myfonts install kit) it also loads on android:
h1, h2, h3, h4, h5 {
font-family: JaroslavBold-Bold;
font-weight: normal;
font-style: normal;
}
h1, h2, h3, h4, h5 {
font-family: JaroslavRegular-Regular;
font-weight: normal;
font-style: normal;
}Problem is, it doesn’t look good and doesn’t load the real typeface when i set text in “bold”, instead it creates a bold version. To resolve this i put in theses lines instead:
h1, h2, h3, h4, h5 {
font-family: ‘Jaroslav’, default1, default2, default3;
font-weight: bold;
font-style: normal;
}
body {
font-family: ‘Jaroslav’, default1, default2, default3;
font-weight: normal;
font-style: normal;
}Now the font renders nicely, but it doesn’t load on Android. Also, like you suggested, the font is hosted on the hosts server. Do you see what the problem is?
May 16, 2018 at 2:04 am #15215Hi,
I checked again, it is same as yesterday.
You said:
Also, like you suggested, the font is hosted on the hosts server. Do you see what the problem is?
Where is your own @font-face codes?
I found there still this CSS linked: http://work.sueperdesign.com/klebebande2018/wp-content/plugins/Jaroslav/Jaroslav.css?ver=4.9.5
I mean you should @font-face the font files from your own host instead by this CSSRegards!
May 16, 2018 at 6:10 am #15221This reply has been marked as private.May 16, 2018 at 8:04 am #15223The css and font files not linked,
https://www.dropbox.com/s/nkzxie3ipoit8lq/QQ20180516-160700%402x.jpg?dl=0May 16, 2018 at 8:53 am #15227This reply has been marked as private.May 16, 2018 at 7:20 pm #15233This reply has been marked as private.May 17, 2018 at 2:06 am #15234Hi,
Please use full css URL here: https://www.dropbox.com/s/belg3ut2d1wtlnx/Bildschirmfoto%202018-05-16%20um%2010.50.51.png?dl=0
<link rel="stylesheet" type="text/css" href="http://work.sueperdesign.com/klebebande2018/MyFontsWebfontsKit.css">Please use font file full URL in MyFontsWebfontsKit.css
@font-face {font-family: 'JaroslavRegular-Regular';src: url('http://work.sueperdesign.com/klebebande2018/webfonts/36A566_0_0.eot')...——————————–
If it doesn’t work, please send this post URL and wp-admin(url/user/pass) to uiueux@gmail.com, I’ll log in to check it.May 17, 2018 at 8:01 am #15247Hi,
didn’t work. I will send you an Email.May 17, 2018 at 8:07 am #15248This reply has been marked as private.September 27, 2018 at 8:44 pm #16573This reply has been marked as private.September 28, 2018 at 5:14 am #16574This reply has been marked as private. -
AuthorPosts
- You must be logged in to reply to this topic.
