Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Hi All,
I'm still working away at upgrading to Pangolin, I have a lot of custom css that needs tweaking, and have encountered something strange. It seems that when on a mobile device (iPad Pro or iPhone 8), my fonts of choice revert to the default and not my "Prepend Font-family w/ : Open Sans" choice. Note that if I scale my web browser down to engage the mobile layout on my laptop or desktop the font is correctly Open Sans, as expected. Also, the iPad doesn't engage the mobile display because of the screen size but the fonts are not correct. This is not a problem pre-Pangolin. Any ideas?
Thanks a lot,
bret
Offline
Link?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Offline
Open Sans is more than a single word, so you need to wrap it in single-quotes to use it properly.
'Open Sans'
Offline
Thanks, Matt. I made the 'Open Sans' change but it didn't help on my iPhone and iPad. Any other ideas? Note that it is not an issue pre-Pangolin.
Offline
have you tried clearing template cache?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I tried a fresh Pangolin template only adding 'Open Sans'. The font doesn't appear on the page when viewed on my iPhone or iPad but does appear on my Macbook and iMac (desktop), even when the vertical/mobile menu is enabled. If this is an IOS problem why does it work in the pre-Pangolin templates?
Offline
I see it happening on your site but haven’t been able to duplicate the problem on my own test site (using Lato)
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Yes, I cleared the template cache as well as the browser cache with the same result. Are you getting a different result?
Offline
I just tested on an older Andriod tablet (Asus Nexus 7) with the same non-'Open Sans' result.
Offline
Do you have Open Sans installed on your computer?
If yes, that would explain why you see it on your computer, but not on your other devices. Because apart from your writing it into the font-stack, I'm not seeing any reference to the Google Font in your source code. Looks to me like you've forgotten to paste in the link to the assets, that you should have gotten from Google Fonts.
Offline
Thank you very much, Matt. As always, very much appreciated. I failed to add the "Google Fonts Statement (optional)" in my Pangolin template. It's all working great now.
Offline