help with removal of font style

Home Forums Use Any Fonts help with removal of font style

  • This topic has 2 replies, 2 voices, and was last updated 1 month ago by Scott.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #534191 Reply
    Scott Herrick
    Participant

    Hi Dinesh,

    On one site, I need to remove useanyfont, and even after plugin deletion, there is still some leftover style code being generated on every page on the site and it causes a fallback font to be shown.

    Can you please point me to where the code below is being created? I have also manually removed the UAF files as well as anything in the DB that I could find. I have also cleared out all caches, but still cannot find where this is being generated:

    @font-face{font-family:lato;font-style:normal;font-weight:400;font-display:fallback;src:url(‘https://mysite.com/wp-content/uploads/useanyfont/6525lato.woff2&#8217😉 format(‘woff2’);}

    Thanks much,
    Scott

    #534200 Reply
    Dinesh
    Keymaster

    Hi Scott,

    Thanks for reaching out.

    Use Any Font stores its generated CSS in the following file:
    wp-content/uploads/useanyfont/uaf.css

    Once the plugin is deactivated, this CSS file is not enqueued or loaded by the plugin anymore.

    If you’re still seeing the @font-face rule being output, it is most likely coming from one of the following:

    A caching plugin or server-side cache serving an old cached version

    A page builder or theme that had the font assigned earlier and saved the CSS internally

    I’d recommend clearing all caches and from builder if you have assign using it.

    Best regards,

    #534207 Reply
    Scott
    Guest

    Thank you very much Disnesh–this is very helpful!

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: help with removal of font style
Your information: