July 27, 201610 yr Hi, I'm using the Storefront Theme for a build but I've notice the Open Sans font isn't displaying on Iphones. You can see in this screenshot taken from an Iphone 5c that the Login/Register link and sub-Menu is using some kind of generic serif font and not Open Sans: http://prnt.sc/bwu6i7 I've tried adding font-family: 'Open Sans' !important; to various places in my stylesheet but it has no affect. URL: http://tinyurl.com/zrbhp9o Any help would be greatly appreciated as I have not had any response from the Theme Developer's Technical Support.
July 27, 201610 yr I notice that the theme uses deferred web font loading and I remember seeing a similar issue to this with iPhones somewhere else. I'll see if I can dig it out later. IIRC however it had something to do with maximum JS execution time being exceeded, but don't hold me to it.
July 27, 201610 yr Author I notice that the theme uses deferred web font loading and I remember seeing a similar issue to this with iPhones somewhere else. I'll see if I can dig it out later. IIRC however it had something to do with maximum JS execution time being exceeded, but don't hold me to it. I would really appreciate any info you could find about it thanks.
July 27, 201610 yr Author Does it work if you use a different (Google) font? Unfortunately I dont have an Iphone of my own to try that (although hope to get one soon), I had to borrow my brothers Iphone 5c to confirm the issue. My business partner first noticed the issue with his Iphone 6 so I know its not a problem with a specific phone. Edited July 27, 201610 yr by AndyDesigns
July 27, 201610 yr Author Just thought I'd mention the font displays fine on my android phone so its definitley an IOS/Safari issue and not a general 'Phone' device issue.
July 27, 201610 yr Author Can anyone else with an Iphone confirm that Open Sans isnt displaying? - as I've had a response from theme tech. support along with screenshots showing the font IS displaying on Iphone 5s and Iphone 6, I'm now thinking it may be some kind of caching issue.
July 28, 201610 yr Can't find the deferring thread, it wasn't on any of the regular forums I use. However I found a link to this little article which indicates that a bug in iOS means that only two variants of a font not included in iOS can be loaded. http://www.pixeldock.com/blog/uifont-problem-when-using-more-than-2-custom-fonts-of-the-same-font-family/
July 28, 201610 yr Author Can't find the deferring thread, it wasn't on any of the regular forums I use. However I found a link to this little article which indicates that a bug in iOS means that only two variants of a font not included in iOS can be loaded. http://www.pixeldock.com/blog/uifont-problem-when-using-more-than-2-custom-fonts-of-the-same-font-family/ Thanks for this, it seems ridiculous that Apple would apply such a restriction on font variants. I know the theme loads several variants of Source San Pro its default font. But that still wouldnt explain why Open Sans is displaying but only on the home page.
July 28, 201610 yr One other possibility is that something on the other pages, script or plug in, is causing a CSS issue which breaks the font-family CSS.
July 30, 201610 yr Author I think this is now fixed, it was just because I wasn't fully declaring the font-family, originally it was font-family: 'Open Sans' !important; its now font-family: 'Open Sans', sans-serif !important;
Create an account or sign in to comment