How to add Custom Font

Hi! How can I add a custom font? I uploaded a ttf file but I got a weird message on the screen.

Screenshot 2024-05-23 at 5.25.26 PM Medium

Hey Allison,

Thanks for writing in! Can you copy and paste the Error Message? We cannot clearly read it from your screenshot.

Best Regards.

Here is the link to the photo in google drive so it can be full size:

Hello Allison,

It seems that you have enabled the debugger mode please go to the wp-config.php file which is located in the WordPress installation root directory. You need to find the define( 'WP_DEBUG', true ); code and replace it with define( 'WP_DEBUG', false ); code.

Please find the video that will help you to edit wp-config.php and add the above code:

Please for the custom fonts, you need to upload the font in .WOFF format. Please have a look at this doc to learn more about how to import the custom font.

Hope it helps

Hi! I uploaded the font in woff format instead, but nothing happens when I change the font to it.
Screenshot 2024-05-24 at 5.23.23 PM Medium

Hey Allison,

After uploading the custom fonts, you still have to add them in the font pallete:

Check out the URL of the font demo in the secure note below.

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.