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: https://drive.google.com/file/d/1Z5ri1EVG0s_fxYP1rnPfzj-JS1ty7_wC/view?usp=share_link

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: https://www.youtube.com/watch?v=3SDPTafEM8o

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
Thanks

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.