Kirki: Fonts are misbehaving while using https

Created on 6 Jun 2019  路  7Comments  路  Source: kirki-framework/kirki

Fonts are misbehaving while using https.

This is the URL w/o https and this is with https

In https version fonts are becoming bold and changing size - Overall giving bad experience to the user.
Looks like something is not downloading properly in https version.

Most helpful comment

Hi. Problem solved after update AND clearing all the transients.

All 7 comments

That's because your site has both http & https versions.
Fonts get cached for a few days, so if they were cached while you were on the http version of the site, then the https site will be trying to get the http files - which is not allowed by browsers.

Instead of doing that, redirect your http traffic to https. Your SEO will thank you for that.
After you switch your site to https, your fonts will be back to normal.
In some cases it might be a few days for the caches to be reset though.

Dear Aristath

I'm also reporting weird behavior on fonts on HTTPS site. I kindly ask is there something I'm missing? I tried to force my site to use the only HTTPS it did not change it.

When I disable the "Kirki Toolkit" I don't get these issues. Also, my site passes the green padlock when disabling the "Kirki Toolkit" plugin.

Hoping you can help me.

My issue was resolved. I forced HTTP to https, but that didn't fix anything. Later I reinstalled everything, including WordPress and theme.

Now:

  1. Everything is working fine.
  2. http is forced to https.

@aristath any thoughts on using protocol-relative URLs to negate this? For example //mydomain.com

@aristath any thoughts on using protocol-relative URLs to negate this? For example //mydomain.com

I can report using this plugin also solves the issue. https://wordpress.org/plugins/http-https-remover/
So is there some issue in Kirki that should be fixed?

Fixed in v3.0.41 by using protocol-agnostic URLs as suggested by @DannyCooper

Hi. Problem solved after update AND clearing all the transients.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hellor0bot picture hellor0bot  路  3Comments

Vishal-Deshpande picture Vishal-Deshpande  路  3Comments

manuelmoreale picture manuelmoreale  路  3Comments

daviedR picture daviedR  路  6Comments

rahulv3a picture rahulv3a  路  3Comments