- This topic has 0 replies, 1 voice, and was last updated 7 months, 2 weeks ago by Dee.
October 21, 2019 at 7:40 pm #333897DeeGuest
Unfortunately when loading the page, now and then a different font is shown for a second, and then that font is very quickly replaced by the font I really want to show and have uploaded in the plugin.
I’ve not assigned the font to any element tag, because I only use the font now and then, on single words, like for example:
My text<span style=”font-family: my-custom-font, script; font-size: 46px; color: #304771;”>my-single-word-in-script</span> my text.
How can I prevent FOUT from happening?
I also have addd this code to the css, but it didn’t help:
src: url(‘https://mydomain/wp-content/uploads/useanyfont/12345678Font-Name.woff’) format(‘woff’),
It would be nice if you had an tutorial about this.
Hope to hear from you soon,
Thanks in advance!
(I have a Pro account.)
- The topic ‘Prevent FOUT from happening’ is closed to new replies.