Title: Adding custom font
Last modified: April 29, 2024

---

# Adding custom font

 *  [martaperessini](https://wordpress.org/support/users/martaperessini/)
 * (@martaperessini)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/adding-custom-font-7/)
 * Hi
   I want to add my custom font to this theme, but I cannot load it correctly.
   Can I have any help for this issue?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fadding-custom-font-7%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Theme Author [Alexander Agnarson](https://wordpress.org/support/users/alxmedia/)
 * (@alxmedia)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/adding-custom-font-7/#post-17728204)
 * Are you using a plugin to load the font files?
 * If you are loading font files, try going to Customize > Additional CSS and add:
 *     ```wp-block-code
       body { font-family: "Arial"!important; }
       ```
   
 * Replace “Arial” with the name of your font that you try to load. This should 
   override any font that the theme tries to set as body font.
 *  Thread Starter [martaperessini](https://wordpress.org/support/users/martaperessini/)
 * (@martaperessini)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/adding-custom-font-7/#post-17728514)
 * I tried both ways (plugin and directly in font folder) and none of them works.
   
   With this code in the additional CSS it seems to read the code (the h1 font changes)
   but that is not the font I loaded (my font name’s family is “wildone”, but this
   is not the style of the font)Is there an issue with the font file?
 * Many thanks
 * ![](https://i0.wp.com/portfolio.tanadellatarma.it/wp-content/uploads/2024/05/
   Screenshot-2024-05-02-143109.png?ssl=1)
    -  This reply was modified 2 years, 1 month ago by [martaperessini](https://wordpress.org/support/users/martaperessini/).
 *  Theme Author [Alexander Agnarson](https://wordpress.org/support/users/alxmedia/)
 * (@alxmedia)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/adding-custom-font-7/#post-17728536)
 * I think there is an issue with how you load the fonts in the theme. Have you 
   tried this plugin? [https://wordpress.org/plugins/olympus-google-fonts/](https://wordpress.org/plugins/olympus-google-fonts/)–
   I don’t think your font is available on Google fonts, but you may have to change
   to one that is available there to get it to work more easily.
 * Here you can browse fonts available: [https://fonts.google.com/](https://fonts.google.com/)
 *  Thread Starter [martaperessini](https://wordpress.org/support/users/martaperessini/)
 * (@martaperessini)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/adding-custom-font-7/#post-17728691)
 * Hi,
   I managed to import one of my custom font with code.However, even if code
   is the same for both, just one of theme has been working correctly (lucky font
   family)
 * ![](https://i0.wp.com/portfolio.tanadellatarma.it/wp-content/uploads/2024/05/
   Screenshot-2024-05-02-153759.png?ssl=1)
 *  Theme Author [Alexander Agnarson](https://wordpress.org/support/users/alxmedia/)
 * (@alxmedia)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/adding-custom-font-7/#post-17728739)
 * If one of them is working, and the other not, with the exact same code – then
   I think you are right that it’s probably a problem with the font file.
 * Sorry that I can’t help you out more – it’s a strange issue.
 *  Thread Starter [martaperessini](https://wordpress.org/support/users/martaperessini/)
 * (@martaperessini)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/adding-custom-font-7/#post-17729435)
 * I agree, I even tried to convert it in FontSquirrel but it didn’t change anything!
   
   Many thanks for your interest, even if I didn’t fully resolve my problem your
   advice were very helpful 🙏

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Adding custom font’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/clearwork/1.1.3/screenshot.png)
 * Clearwork
 * [Support Threads](https://wordpress.org/support/theme/clearwork/)
 * [Active Topics](https://wordpress.org/support/theme/clearwork/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/clearwork/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/clearwork/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [Custom Font](https://wordpress.org/support/topic-tag/custom-font/)
 * [font](https://wordpress.org/support/topic-tag/font/)
 * [style](https://wordpress.org/support/topic-tag/style/)

 * 6 replies
 * 2 participants
 * Last reply from: [martaperessini](https://wordpress.org/support/users/martaperessini/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/adding-custom-font-7/#post-17729435)
 * Status: not resolved