• Hi, I’m in a critical problem. The fonts showing fine on customizer but not on the front end. I’ve disabled all the caches. Usually as we all know clearing Kirki cache or removing fonts folder fixes it but it’s not working for me. Clearing Kirki cache creating the fonts folder containing only a single file named ‘font’. The woff files are missing and not being downloaded. Could you please help?

Viewing 7 replies - 1 through 7 (of 7 total)
  • It was the same issue with me, and I used following to resolve it,

    – Clear the font Cach (Kirki)
    – Elementor > Tools > Regenerate Files & Data
    – Cleare all caches and see

    It should be resolved.

    Thread Starter kinduweb

    (@kinduweb)

    I did that too and again followed your instructions but it’s not happening for me. ??

    Same issue since 24h, looks like some font failed to be downloaded

    Thread Starter kinduweb

    (@kinduweb)

    Theme support helped me out. Kirki couldn’t download woff but no problem with woff2.

    More here: https://github.com/themeum/kirki/issues/2524

    Same issue here, no google font assigned via Kirki is loading.

    On clearing Kirki font cache it don’t downloads woff files in fonts folder just a file named as ‘font’.

    @font-face src is like below, not like plugin previously used to show.

    @font-face?{
    ? font-family: ‘Font Name’;
    ? font-style: normal;
    ? font-weight: 400;
    ? font-display: swap;
    ? src: url(https://sitename.com/wp-content/fonts/Fontname/font) format(‘woff’);
    ? unicode-range: U+1F00-1FFF;
    ? }

    @mobi143 That might have worked for you as somewhere you must have loaded same font through elementor. Check blog page or any page that do not uses elementor, it won’t work there.

    Edit this file:
    /plugins/kirki/kirki-packages/module-webfonts/src/Webfonts/Downloader.php

    Replace line 186 with this line:

    $user_agent = ‘Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0’;

    Next install the?Transients Manager?plugin.

    And look for:
    kirki_remote_url_contents

    And delete that transient. This has an expiry of 7 days so it will eventually flush by itself if you wait long enough.

    Test the site now, and the fonts should display again.

    You can remove the Transients Manager plugin afterwards.

    • This reply was modified 8 months, 1 week ago by silzsyk.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Font not loading on front end as WOFF files are missing’ is closed to new replies.