- This topic has 1 reply, 1 voice, and was last updated 2 months, 4 weeks ago by Dee.
October 21, 2019 at 7:35 pm #333894DeeGuest
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.)October 21, 2019 at 7:41 pm #333898DeeGuest
My apologies for posting in the wrong forum. Unfortunately I can’t delete my post.
I’ve just reposted my question there: https://dineshkarki.com.np/forums/topic/prevent-fout-from-happening