help center

On this page

Custom fonts not displaying on live site

Last Update: March 4, 2024

Issue

Custom fonts do not appear on your live site.

Possible causes & solutions

Cache Issue

The problem may be due to a cache issue.

To clear the cache:

  • Clear WordPress cache plugin, if applicable.
  • Ask your host to clear server-side caching, if applicable.
  • Clear your browser’s cache.
  • After clearing all cache, check again. 
  • You may need to use another browser, or a browse in incognito mode if the browser’s cache did not fully clear.

For more information on WordPress and cache, see the WordPress support article on the subject.

HTTP/HTTPS mis-match

If you have recently migrated from HTTP to HTTPS, your font files may need to be re-uploaded.

To re-upload the font files:

  1. From WP Admin, navigate to Elementor > Custom Fonts
  2. If the URLs listed do not begin with https, click DELETE.
  3. Click UPLOAD to re-upload the files.
    Custom fonts not displaying on the live site 1
  4. Navigate to Elementor > Tools.
  5. Click Regenerate CSS & Data. The URLs should now begin with https and your fonts should appear on the front end.
    If this is still not working, you may have encountered other issues when you previously migrated to HTTPS.
  6. Navigate to Elementor > Tools > Replace URL.
  7. In the right pane, locate the Update Site Address (URL) section.
  8. In the old URL field enter the site URL with HTTP. 
  9. in the New URL field enter the site URL with HTTPS.
    Custom fonts not displaying on the live site 2
  10. Click Replace URL.
  11. Scroll down and click the Save Changes button.
  12. Navigate to Settings > General.
  13. Ensure that the WordPress Address (URL) and the Site Address (URL) begin with https.
    Custom fonts not displaying on the live site 3

CORS Error in Console

If your custom font is not showing and you receive a CORS error in your browser console, ask your hosting company to modify the server’s CORS policy. 

For more details, see:

Importing Templates

If you imported a template that included custom fonts, you need to add the custom fonts manually. Template fonts are not imported automatically.

Selected font weight is not available

Custom fonts may not have all available font weights available. If you select a specific font-weight in Typography options, but your custom font does not have that specific weight available, it may not display that font at all. In this case, select a different font weight that is available for your custom font. You may need to consult the font designer for this information.

Invalid Custom Code

If you add invalid custom CSS or other code it can lead to many different display problems, including the inability to display custom fonts. Remove or fix the improper code to solve this issue.

All Font variations not included

Different devices/browsers may need different font variations. For example, if fonts are not displaying on iOS devices make sure you have uploaded all font variations, including .ttf .svg .woff .woff2 and .eot

If any variations is missing then either of the following can happen:

  • default font is displayed
  • text will not appear on the website

This happens because different browsers render fonts differently, so to prevent any inconsistencies, it is important to add all font variations to maintain full browser support.

To fix this issue, you can use the generator tool from Font Squirrel.

Have more questions? We’re more than happy to assist.

Link is copied to clipboard!
On this page

Is this article helpful?

Share this article