Enable offline fonts for the Sitecore client

Current version: 10.1

The Sitecore client uses fonts from Google (fonts.googleapis.com). If you do not have access to the internet from a Sitecore role such as Content Management, the requests for loading these fonts (in, for example, the Content Editor or the Experience Editor) time out. This deteriorates performance significantly.

To enable offline fonts:

  • Create a configuration patch file with this content:

    RequestResponse
    <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
      <sitecore>
        <settings>
          <setting name="DefaultFontUrl" value="/layouts/offline_fonts.css"/>
        </settings>
      </sitecore>
    </configuration>

Do you have some feedback for us?

If you have suggestions for improving this article,