-
Notifications
You must be signed in to change notification settings - Fork 865
Font "reloading" after page load #604
Comments
I noticed this when I built the gulpfile but I didn't have time pinpoint the problem. My best guess is that some JavaScript that loads in the footer is causing this. It also might be Browsersync related. I would love to get this fixed. |
Ok so this has nothing to do with Gulp or Browsersync as the problem can be seen on the FoundationPress demo site on page load. |
Found it! It's an issue with the Typekit embed script that loads at the bottom of the page. To confirm this, while the watch tasks were running with |
When I made
That is concatenating everything with the @olefredrik do we want |
@colin-marshall : Typekit should be placed in the |
No problem! Where would you suggest we put |
Thank you for fixing this @colin-marshall and @olefredrik |
If you're using Typekit with async javascript and want to remove the text-flash (FOUT) on page load, you can add this to your stylesheet.
|
If anyone else is getting this (see gif), I have a temporary fix. It acts a bit like FOUC.
If you comment out line 26 and 30 from the library/enqueue-scripts.php it loads "properly". Both need to be commented out at least in this quick "fix"
This is from a clean download, cache cleared, no scripts blocked. Typekit and JQuery looks like they are loading properly too.
Hope this helps.
The text was updated successfully, but these errors were encountered: