A font request has malformed, where in the theme editor can I find it?

The font is working fine in the customize window, but not on the actual site.
Simple things like adding a google fonts plugin or adding custom css does very little or nothing, so I’d like to know where’s the code for fetching the fonts so I could maybe just adjust the GET link to fix it unless there’s an idea of what else it might be.

Better yet, where does this get generated?

@font-face{font-display:swap;font-family:'Work Sans';font-style:normal;font-weight:400;src:local('Work Sans'), local('WorkSans-Regular'), url(//www.aiand.ee/wp-content/uploads/2019/12/QGYsz_wNahGAdqQ43Rh_cqDv.woff) format('woff');}</style></head>

Hello,

The font is working fine in the customize window, but not on the actual site.

I’m not sure what exactly is your issue, can you please describe it more precisely?

Better yet, where does this get generated?

It comes from the inc/customizer/kirki/class-athemes-kirki.php file, as far as I know.

Kind Regards, Roman.
aThemes Support

1 Like

Basically if I’ve understood this correctly after a long while, one of the links for the fonts isn’t working since after trying to get ssl to work as it should some of the pathing isn’t entirely correct. The request is using the url without www. and that’s causing an error thinking the origin is different from the requested resource. Still couldn’t find the specific part to fix it though.


Okay, can you please provide a link to your website in order to let me check it?

Kind Regards, Roman.
aThemes Support

https://aiand.ee/ Naturally it’s on there as well.

Hello,

Those issues seem to be site-specific, I don’t see anything like that on Airi demo site:
https://demo.athemes.com/airi-business/

You can try to deactivate all your plugins except Elementor and Kirki, and see if it helps.

Also you can try to rebuild your website in a staging environment or locally and see if it works as it should (then you will be able to move rebuilt website to production environment). Please remember about importance of regular full site backups (files and database):
https://wordpress.org/support/article/wordpress-backups/

Here are the helpful tutorials:


Kind Regards, Roman.
aThemes Support

The google font integration is handled with Kirki Customizer Framework…I’m looking into it as I have a fresh WordPress install and font’s render on the customizer page but not the frontend. The classes are being set but they are falling back.

I’m assuming that it could be related to the wp version which is why the demo site is working…(assumption)