Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Google Fonts Issue

Featured Replies

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.

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.

  • 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.

  • 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 by AndyDesigns

  • 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.

  • 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.

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/

  • 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.

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.

  • 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;

  • 10 months later...

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.