Losing Custom Fonts

Hi I have a Custom font uploaded on my staging site, its scripted and called Easy Going. For some reason, when I save sometimes, I lose this font, and it reverts to a blocky serif font. It’s replaced throughout the site, on different browsers, and even on private windows. I’ve cleared my cache and still nothing. Then, it goes back to the custom font without doing anything, and switches back to the serif font randomly upon saving.

WRONG:

https://infamous-whistle.flywheelstaging.com/

I’ll look through the similar topics but any thoughts?

Now, my font is back:

Right! But how do I prevent this from happening? This site is going to be a sales vehicle, so I can be losing this critical font randomly.

Another question that you probably can’t answer bc it’s not your product, but any advice on how to bring my custom fonts into revolution slider?

Hi Jeannie,

Thank you for writing in, I’ve checked the site and I see you’re having a mixed content issues because a lot of your resources including those Easy-Going.ttf font files are requested in a none secure protocol (http://)


Those read files you see are blocked by the browser (some allows it), you need to set the WordPress Address (URL) and Site Address (URL) to (https://), as you can see on the Settings > General


Please add this to the wp-config.php file:

define( 'WP_HOME', 'https://infamous-whistle.flywheelstaging.com' );
define( 'WP_SITEURL', 'https://infamous-whistle.flywheelstaging.com' );

More details here.

Hope it helps,
Cheers!

1 Like

Ok Great! I will try this- one question though, this is my staging site, and the production URL will be https://yourcolorguru.com.

Should I wait to add this snippet until after I push the site live, or will these URLs change when I moove it to my main domain?

Hey Jeannie,

You can add the snippet now and when you push the site live, you can re-check the wp-config.php file and change the URLs with the live URLs if you see the URLs are not changed.

Hope this helps!

1 Like

Great! I will do that and let you know how it goes!

Thank you for your cooperation.

I had my host force all resources over https and it seems like the problem is resolved! Thanks so much!

Glad that you managed to handle the case :slight_smile:.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.