How to upload CUSTOM FONTS?

edited August 2021 in Fonts
If you want to use the custom fonts option and upload the font files directly onto your server, then please follow these steps.

Get the fonts

Most of the fonts in theme options > fonts > family are loaded from the Google Fonts API. If you do not want to load the fonts from the CDN, then you can download them from google or use fonts outside of the google fonts library.
For the tutorial, we will download fonts from Google.

Go to fonts.google.com
Choose a font you like. We have chosen the Roboto font. A window will popup.
Click the arrow button to download the font onto your machine.


Filetypes .ttf .woff

The font will be downloaded in a .ttf filetype. It is not a good practice to use this font on the web, WordPress will also block the upload of this font type. If you want to use .ttf format, then you will need to download and activate the Disable real MIME check plugin. Remember to disable this plugin after you upload the file.

The font type we recommend is .woff. You will upload it with no problems into WordPress.
To convert a .ttf into a .woff file, you need to go to this page:
https://www.fontsquirrel.com/tools/webfont-generator

Use the OPTIMAL setting.
Click on the checkbox that says "agreement" and upload the .ttf file.
Then download the font by clicking the "DOWNLOAD YOUR KIT" button.

Upload and use the custom font

Go to theme options > fonts > custom and upload the font, also give it your name so it will be easy to find it from the list when you manage the fonts in theme options > fonts > family.



This discussion has been closed.

This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.