Archived topic
Typography issue
3 replies · Started by jose on February 10, 2020
When i change the typography (ex: Montserrat), when i refresh the page, i watch generatepress how load inerith font and after load Montserrat.
How can i do to load directly Montserrat. If the internet is slow, i will see the change in live when i refresh the page. I want load Montserrat directly.
Hi there,
can you provide a link to your site so i can see the issue?
Its not possible.
But u can reproduce the issue in generatepress.com
Just go to dev tools in chrome and select network & 3g slow (DISABLE CACHE) or 3g fast (DISABLE CACHE).
You will see the page render a font and after load, the font change.
On GeneratePress.com the body is set to generatepress.woff2.
The Headings, H1, H2 etc are set to inherit - which means it will use the font set on the body
The change in font you see is the initial sans-serif font the browser loads whilst it is waiting for the generatepress.woff2 to load.
There isn't much you can do about this, unless you use a System Stack Font or stop the page from rendering until the font is loaded.