Tagged: ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #1372563

    Hey guys,

    Got a question about custom fonts and the interaction with CDN’s.

    If I upload a custom font, Litespeed can’t put it on the CDN. Instead it always pulls it from the local server, despite having the options enabled in Litespeed to host fonts on the CDN. Is this due to the way it’s being written into the enfold css perhaps?

    See private field for an example.

    Is there a way this could be altered so that Litespeed and perhaps other caching solutions is able to correctly host this on the CDN?

    Thanks for your help


    • This topic was modified 1 year, 3 months ago by THP Studio.

    Hey Tim,

    Sorry for the late reply.

    I’m afraid there is no easy solution for that.

    Icon and type fonts are uploaded in a zip file and our logic unpacks these files and copies content to a directory on the local server and stores link information in database which is used to add it to the css.

    With upcoming version 5.3 we change the location where the unpacked files are stored (see https://kriesi.at/support/topic/enfold-upcoming-fixes/).

    Unfortunately, I don’t have any experience with CDN’s and how the URL’s are handled.

    But if you can copy the directories containing the unpacked files to your CDN location keeping the directory structure maybe it is possible to change the server source only ?

    Best regards,


    Hey Gunter,

    Hope you had a good break.

    Just wanted to check if this other thread: https://kriesi.at/support/topic/bug-cdn-use-and-fonts-loading-twice/ and your new solution might also help with this issue related to the CDN and font location?




    Yes I think it should. Using the option “Performance -> Show Advanced -> Custom Font Loading Source” (5.4) will supress the output of @font-face in dynamic css file.
    So if you copy the files to your CDN and handle the @font-face CSS rule by yourselfe it should work.

    Best regards,



    Ok great thanks, I’ll try it out.



Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.