{"id":758,"date":"2017-03-08T00:00:00","date_gmt":"2017-03-08T00:00:00","guid":{"rendered":"http:\/\/blog.hostinger.io\/hostinger-tutorials\/uncategorized\/how-to-add-custom-fonts-to-wordpress\/"},"modified":"2026-11-20T10:49:15","modified_gmt":"2026-11-20T10:49:15","slug":"how-to-add-custom-fonts-to-wordpress","status":"publish","type":"post","link":"\/in\/tutorials\/how-to-add-custom-fonts-to-wordpress\/","title":{"rendered":"How to add custom fonts to WordPress: 3 methods"},"content":{"rendered":"<?xml encoding=\"utf-8\" ?><p class=\"wp-block-paragraph\">You can add custom fonts to WordPress with the built-in Font Library, a font plugin, or a few lines of @font-face CSS. On WordPress 7.0 and later, the Font Library under Appearance &rarr; Fonts works with both block and classic themes and needs no code.<\/p><p class=\"wp-block-paragraph\">Each method comes with step-by-step instructions and a quick guide to choosing between them. You&#8217;ll also learn where to find fonts licensed for web use and how to convert them to WOFF2, the format all modern browsers support.<\/p><h2 id=\"h-how-to-add-custom-fonts-to-wordpress\" class=\"wp-block-heading h-t-title-2\">How to add custom fonts to WordPress<\/h2><p class=\"wp-block-paragraph\">The best way to add custom fonts to WordPress depends on your WordPress version, your theme, and how much control you need. To upload your own font with any method, you need a font file in WOFF2, WOFF, TTF, or OTF format whose license allows web use.<\/p><figure tabindex=\"0\" class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Method<\/th><th>Best for<\/th><th>Code needed<\/th><th>Theme support<\/th><\/tr><\/thead><tbody><tr><td>WordPress Font Library<\/td><td>Most sites on WordPress 6.5 or later<\/td><td>No<\/td><td>Block themes from 6.5; block and classic themes from 7.0<\/td><\/tr><tr><td>Font plugin<\/td><td>Page builders or themes that read fonts from the plugin; older WordPress versions<\/td><td>No<\/td><td>Depends on the plugin<\/td><\/tr><tr><td>Manual @font-face CSS<\/td><td>Precise control over which elements use the font<\/td><td>Yes (CSS)<\/td><td>Any theme<\/td><\/tr><\/tbody><\/table><\/figure><p class=\"wp-block-paragraph\"><strong>Start with the Font Library<\/strong> if your site runs WordPress 6.5 or later. Choose a plugin when your page builder or theme relies on one, and use manual CSS when you want to target specific elements without adding another plugin.<\/p><p class=\"wp-block-paragraph\">Prefer video? This tutorial walks through the Site Editor&#8217;s built-in font manager, a font plugin, and a manual setup using a child theme.<\/p><figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"How to Add Custom Fonts to WordPress | Install Fonts on WordPress Tutorial\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/M-_i8VBvrS0?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure><h3 class=\"wp-block-heading h-t-title-3\">How to add custom fonts with the WordPress Font Library<\/h3><p class=\"wp-block-paragraph\">The WordPress Font Library lets you upload font files or install Google Fonts without a plugin or code. Starting in WordPress 7.0, it&#8217;s available for both block and classic themes under Appearance &rarr; Fonts. On WordPress 6.5 to 6.9, the Font Library works with block themes only and sits in the Site Editor under Styles &rarr; Typography.<\/p><p class=\"wp-block-paragraph\">To upload your own font on WordPress 7.0 or later:<\/p><ol class=\"wp-block-list\">\n<li>Go to <strong>Appearance &rarr; Fonts<\/strong> in your WordPress dashboard.<\/li>\n\n\n\n<li>Open the <strong>Upload<\/strong> tab.<\/li>\n\n\n\n<li>Upload your font file in .woff2, .woff, .ttf, or .otf format.<\/li>\n\n\n\n<li>Open the <strong>Library<\/strong> tab and confirm that the new font appears in the list.<\/li>\n<\/ol><p class=\"wp-block-paragraph\">To install a Google Font instead, open the <strong>Install Fonts<\/strong> tab, click <strong>Allow access to Google Fonts<\/strong>, search for the font, select the variants you need, and click <strong>Install<\/strong>. WordPress downloads the font files and hosts them on your site rather than loading them from Google&#8217;s servers.<\/p><p class=\"wp-block-paragraph\">To apply the font in a block theme, go to <strong>Appearance &rarr; Editor &rarr; Styles<\/strong> and choose it for your site&#8217;s text or for specific blocks, such as Heading or Paragraph. The available options depend on your theme. In a classic theme, apply the font through the theme&#8217;s typography settings or with a CSS font-family rule, as shown in the manual @font-face method.<\/p><p class=\"wp-block-paragraph\">Once the new font is live, you can fine-tune heading and body text sizes with our guide on how to <a data-click-id=\"hgr-post-content-link-change-font-size-in-wordpress\" href=\"\/in\/tutorials\/change-font-size-in-wordpress\/\">change font size in WordPress<\/a>.<\/p><h3 id=\"h-how-to-add-fonts-in-wordpress-using-plugins\" class=\"wp-block-heading h-t-title-3\">How to add custom fonts with a WordPress plugin<\/h3><p class=\"wp-block-paragraph\">A font plugin is the easiest choice when your page builder or theme reads fonts from the plugin, or when your site runs a WordPress version older than 6.5. Both plugins below are available in the WordPress plugin directory, and you can <a data-click-id=\"hgr-post-content-link-install-wordpress-plugins\" href=\"\/in\/tutorials\/how-to-install-wordpress-plugins\/\" target=\"_blank\" rel=\"noopener\">install WordPress plugins<\/a> from your dashboard in a few clicks.<\/p><p class=\"wp-block-paragraph\"><strong>Custom Fonts<\/strong><\/p><p class=\"wp-block-paragraph\">The free <a data-click-id=\"hgr-post-content-link-custom-fonts-plugin\" href=\"https:\/\/wordpress.org\/plugins\/custom-fonts\/\" target=\"_blank\" rel=\"noopener\">Custom Fonts plugin<\/a> lets you upload your own font files or pick Google Fonts and host them on your own server. Hosting fonts locally reduces external requests to font services, which can help pages load faster.<\/p><p class=\"wp-block-paragraph\">Once installed, you can reach the plugin under <strong>Appearance<\/strong> in your WordPress dashboard. Upload the fonts from your computer using the <strong>Local Fonts <\/strong>option or choose from hundreds of <strong>Google Fonts<\/strong>. Once you&#8217;re all set, click on <strong>Save Font<\/strong> and that&#8217;s it. The fonts will now be available for you to apply them to various elements of your website.<\/p><figure data-wp-context=\"{&quot;imageId&quot;:&quot;6b090d4d69fc5&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6b090d4d69fc5\" class=\"wp-block-image size-large wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"596\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/52\/2025\/12\/PHP-alt-1.jpg\/w=1024,h=1024,fit=scale-down\" alt=\"Interface for adding custom fonts using the Custom Fonts plugin for WordPress\" class=\"wp-image-128883\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/52\/2025\/12\/PHP-alt-1.jpg\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/52\/2025\/12\/PHP-alt-1.jpg\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/52\/2025\/12\/PHP-alt-1.jpg\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/52\/2025\/12\/PHP-alt-1.jpg\/w=768,fit=scale-down 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><p class=\"wp-block-paragraph\"><strong>Use Any Font<\/strong><\/p><p class=\"wp-block-paragraph\">The <a data-click-id=\"hgr-post-content-link-use-any-font-plugin\" href=\"https:\/\/wordpress.org\/plugins\/use-any-font\/\" target=\"_blank\" rel=\"noopener\">Use Any Font plugin<\/a> uploads TTF, OTF, WOFF, or WOFF2 files and converts them to WOFF2 through the developer&#8217;s conversion server. The conversion requires an API key: a free Lite\/Test key converts a single font, while more fonts or variants need a premium key.<\/p><p class=\"wp-block-paragraph\">After uploading a font, assign it to HTML elements or custom CSS selectors from the plugin&#8217;s font assignment screen.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"511\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2017\/03\/screenshot-of-use-any-font-plugin-dashboard.png\/public\" alt=\"Using the Use Any Font plugin\" class=\"wp-image-20110\" srcset=\"https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2017\/03\/screenshot-of-use-any-font-plugin-dashboard.png 1024w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2017\/03\/screenshot-of-use-any-font-plugin-dashboard-150x75.png 150w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2017\/03\/screenshot-of-use-any-font-plugin-dashboard-300x150.png 300w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2017\/03\/screenshot-of-use-any-font-plugin-dashboard-768x383.png 768w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2017\/03\/screenshot-of-use-any-font-plugin-dashboard-990x494.png 990w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2017\/03\/screenshot-of-use-any-font-plugin-dashboard-1320x658.png 1320w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div><h3 class=\"wp-block-heading h-t-title-3\">How to add custom fonts manually with @font-face<\/h3><p class=\"wp-block-paragraph\">Adding a font manually means uploading the font file to your server and loading it with a CSS @font-face rule. This method works with any theme and needs no plugin, but you should be comfortable editing CSS.<\/p><p class=\"wp-block-paragraph\">Store the font outside your theme folder. Theme updates replace the theme&#8217;s files, so a font saved in wp-content\/themes\/your-theme\/fonts can disappear after an update.<\/p><ol class=\"wp-block-list\">\n<li>Convert your font to WOFF2 with the steps in &#8220;How to convert fonts to a web-friendly format&#8221;, then extract the .zip archive.<\/li>\n\n\n\n<li>Open your site files with an <a data-click-id=\"hgr-post-content-link-ftp-client-like-filezilla\" href=\"\/in\/tutorials\/filezilla-ftp-configuration\/\">FTP client like FileZilla<\/a> or your hosting file manager. On Hostinger <a data-click-id=\"hgr-post-content-link-managed-wordpress-hosting\" href=\"\/in\/wordpress-hosting\">managed WordPress hosting<\/a>, go to Websites &rarr; Manage site &rarr; Files &rarr; File Manager.<\/li>\n\n\n\n<li>Create a folder named <strong>custom-fonts<\/strong> inside <strong>wp-content\/uploads<\/strong>.<\/li>\n\n\n\n<li>Upload your .woff2 file to the <strong>wp-content\/uploads\/custom-fonts<\/strong> folder.<\/li>\n<\/ol><p class=\"wp-block-paragraph\">Next, register the font with an @font-face rule in your site&#8217;s custom CSS, for example in the Additional CSS panel. Our guide on how to <a data-click-id=\"hgr-post-content-link-add-custom-css-to-wordpress\" href=\"\/in\/tutorials\/how-to-add-custom-css-to-wordpress\/\">add custom CSS to WordPress<\/a> explains where to find it in block and classic themes. Replace the font-family name and file path with your own:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">@font-face {\n  font-family: \"Aguafina Script\";\n  src: url(\"\/wp-content\/uploads\/custom-fonts\/AguafinaScript-Regular.woff2\") format(\"woff2\");\n  font-weight: 400;\n  font-style: normal;\n  font-display: swap;\n}\n<\/pre><p class=\"wp-block-paragraph\">The file path above assumes WordPress is installed at your domain&#8217;s root. If your site runs in a subfolder, add that folder to the path.<\/p><p class=\"wp-block-paragraph\">The @font-face rule only registers the font, so nothing changes until you assign it to an element. This example applies Aguafina Script to the site title, with Arial and a generic sans-serif font as fallbacks:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">.site-title,\n.wp-block-site-title {\n  font-family: \"Aguafina Script\", Arial, sans-serif;\n}\n<\/pre><p class=\"wp-block-paragraph\">Classic themes often use the .site-title class, while block themes use .wp-block-site-title for the Site Title block. If neither selector works, inspect your theme&#8217;s markup with your browser&#8217;s developer tools. Save the CSS, then reload your site in a private browser window to confirm that the new font appears.<\/p><h2 id=\"h-where-can-you-find-fonts-for-wordpress\" class=\"wp-block-heading h-t-title-2\">Where can you find fonts for WordPress?<\/h2><p class=\"wp-block-paragraph\">Free font libraries are the easiest place to find fonts for WordPress, while premium marketplaces offer more distinctive typefaces. Whatever the source, check that the font&#8217;s license allows web use before you upload it to your site.<\/p><ul class=\"wp-block-list\">\n<li><a data-click-id=\"hgr-post-content-link-google-fonts\" href=\"https:\/\/fonts.google.com\/\" rel=\"nofollow noopener\" target=\"_blank\">Google Fonts<\/a> &ndash; a free, open-source collection that you can also install directly from the WordPress Font Library.<\/li>\n\n\n\n<li><a data-click-id=\"hgr-post-content-link-font-squirrel\" href=\"https:\/\/www.fontsquirrel.com\/\" rel=\"nofollow noopener\" target=\"_blank\">Font Squirrel<\/a> &ndash; free fonts licensed for commercial work, plus the Webfont Generator converter.<\/li>\n\n\n\n<li><a data-click-id=\"hgr-post-content-link-envato-elements\" href=\"https:\/\/elements.envato.com\/fonts\" rel=\"nofollow noopener\" target=\"_blank\">Envato Elements<\/a> &ndash; thousands of premium fonts.<\/li>\n\n\n\n<li><a data-click-id=\"hgr-post-content-link-fonts-com\" href=\"https:\/\/www.fonts.com\/\" rel=\"nofollow noopener\" target=\"_blank\">Fonts.com<\/a> &ndash; a large catalog of commercial fonts.<\/li>\n\n\n\n<li><a data-click-id=\"hgr-post-content-link-dafont\" href=\"https:\/\/www.dafont.com\/\" rel=\"nofollow noopener\" target=\"_blank\">DaFont<\/a> &ndash; a large free collection where licenses vary from font to font.<\/li>\n\n\n\n<li><a data-click-id=\"hgr-post-content-link-1001-free-fonts\" href=\"https:\/\/www.1001freefonts.com\/\" rel=\"nofollow noopener\" target=\"_blank\">1001 Free Fonts<\/a> &ndash; another large free collection with font-specific licenses.<\/li>\n<\/ul><p class=\"wp-block-paragraph\">If you&#8217;d rather skip extra font files entirely, <a data-click-id=\"hgr-post-content-link-web-safe-html-fonts\" href=\"\/in\/tutorials\/best-html-web-fonts\/\">web-safe HTML fonts<\/a> such as Arial and Georgia are already installed on most devices.<\/p><h2 id=\"h-converting-fonts-to-a-web-friendly-format\" class=\"wp-block-heading h-t-title-2\">How to convert fonts to a web-friendly format<\/h2><p class=\"wp-block-paragraph\">Convert desktop font files such as TTF or OTF to WOFF2 before you add them to WordPress. All modern browsers support WOFF2, and it compresses better than older formats, so pages load font files faster.<\/p><p class=\"wp-block-paragraph\">Common font formats include:<\/p><ul class=\"wp-block-list\">\n<li><strong>Web Open Font Format 2 (WOFF2)<\/strong> &ndash; the recommended web format, supported by all modern browsers.<\/li>\n\n\n\n<li><strong>Web Open Font Format (WOFF)<\/strong> &ndash; the earlier web format, worth adding as a fallback only if you need to support older browsers.<\/li>\n\n\n\n<li><strong>TrueType Font (TTF) and OpenType Font (OTF)<\/strong> &ndash; desktop formats that browsers can load, but with larger files than WOFF2.<\/li>\n\n\n\n<li><strong>Embedded OpenType (EOT)<\/strong> &ndash; a legacy format that modern browsers don&#8217;t need.<\/li>\n<\/ul><p class=\"wp-block-paragraph\">Font Squirrel&#8217;s free Webfont Generator converts most font files to WOFF2 and WOFF:<\/p><ol class=\"wp-block-list\">\n<li>Go to <a data-click-id=\"hgr-post-content-link-webfont-generator\" href=\"https:\/\/www.fontsquirrel.com\/tools\/webfont-generator\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Webfont Generator<\/a>.<\/li>\n\n\n\n<li>Click the <strong>Upload Fonts<\/strong> button and choose a font that you want to convert.<\/li>\n\n\n\n<li>Tick the box in the <strong>Agreement<\/strong> section to state that your fonts are legally eligible for web embedding.<\/li>\n\n\n\n<li>Press the <strong>Download Your Kit<\/strong> button&nbsp;and save the <strong>.zip<\/strong> archive to your computer.<br><img decoding=\"async\" class=\"aligncenter wp-image-20062 size-full\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2017\/03\/convert-font-to-web-friendly-format-to-add-custom-fonts.png\" alt=\"Converting fonts to a web friendly format using Webfont Generator\" width=\"1230\" height=\"541\" srcset=\"https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2017\/03\/convert-font-to-web-friendly-format-to-add-custom-fonts.png 1230w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2017\/03\/convert-font-to-web-friendly-format-to-add-custom-fonts-150x66.png 150w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2017\/03\/convert-font-to-web-friendly-format-to-add-custom-fonts-300x132.png 300w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2017\/03\/convert-font-to-web-friendly-format-to-add-custom-fonts-768x338.png 768w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2017\/03\/convert-font-to-web-friendly-format-to-add-custom-fonts-1024x450.png 1024w, https:\/\/www.hostinger.com\/in\/tutorials\/wp-content\/uploads\/sites\/52\/2017\/03\/convert-font-to-web-friendly-format-to-add-custom-fonts-990x435.png 990w\" sizes=\"(max-width: 1230px) 100vw, 1230px\" \/><\/li>\n\n\n\n<li>Inside the archive, you will find fonts in <strong>WOFF<\/strong> and <strong>WOFF 2.0<\/strong> format along with <strong>CSS files<\/strong> and demo <strong>HTML page<\/strong>.<\/li>\n<\/ol><figure class=\"wp-block-image size-large\"><a data-click-id=\"hgr-post-content-link-in-wordpress-hosting\" aria-label=\"Wordpress hosting\" href=\"\/in\/wordpress-hosting\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" width=\"2048\" height=\"600\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/52\/2024\/06\/New-WP_in-text-banner.png\/w=1024,h=1024,fit=scale-down\" alt=\"\" class=\"wp-image-111781\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/52\/2024\/06\/New-WP_in-text-banner.png\/w=2048,fit=scale-down 2048w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/52\/2024\/06\/New-WP_in-text-banner.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/52\/2024\/06\/New-WP_in-text-banner.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/52\/2024\/06\/New-WP_in-text-banner.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/52\/2024\/06\/New-WP_in-text-banner.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/52\/2024\/06\/New-WP_in-text-banner.png\/w=1536,fit=scale-down 1536w\" sizes=\"(max-width: 2048px) 100vw, 2048px\" \/><\/a><\/figure>\n<h2 id=\"h-conclusion\" class=\"wp-block-heading h-t-title-2\">Next steps after adding a custom font<\/h2><p class=\"wp-block-paragraph\">Check your new font on desktop and mobile, and limit your site to two or three font families so pages stay readable and consistent. Run a page speed test after the change, since every extra font weight adds a file for visitors to download. Keep a copy of each font&#8217;s license, and delete fonts you no longer use from the Font Library or your font plugin.<\/p><p class=\"wp-block-paragraph\">If you have any questions regarding how to add fonts to WordPress, share your thoughts in the comment section below, and visit our <a data-click-id=\"hgr-post-content-link-wordpress-guide\" href=\"\/in\/tutorials\/wordpress\/\">WordPress guide<\/a> for any general questions about the CMS.<\/p><h2 id=\"h-wordpress-custom-font-faq\" class=\"wp-block-heading h-t-title-2\">WordPress custom font FAQ<\/h2><div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1675070898290\"><h3 class=\"schema-faq-question\">How do I add a custom font to WordPress without plugins?<\/h3> <p class=\"schema-faq-answer\">To manually add custom fonts to WordPress, you will need to use an FTP client like FileZilla or a File Manager. You will need to upload the custom font to your hosting account and edit your theme&rsquo;s CSS file.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1675070912901\"><h3 class=\"schema-faq-question\">Can I use any font on WordPress?<\/h3> <p class=\"schema-faq-answer\">Yes, you can use any font on WordPress. However, it is important to keep in mind that some fonts may be too large or too small for your website, so it is important to make sure that the font you choose is compatible with your theme.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1675070929376\"><h3 class=\"schema-faq-question\">Is it illegal to use the same font as another company?<\/h3> <p class=\"schema-faq-answer\">The legality of using a particular font depends on the context and its usage. Fonts are considered intellectual property and may be protected by copyright laws in most countries. Ultimately, whether it&#8217;s illegal to use someone else&#8217;s font varies according to each country&rsquo;s laws so you should consult a lawyer.<\/p> <\/div> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>You can add custom fonts to WordPress with the built-in Font Library, a font plugin, or a few lines of @font-face CSS. On WordPress 7.0 and later, the Font Library under Appearance &rarr; Fonts works with both block and classic themes and needs no code. Each method comes with step-by-step instructions and a quick guide [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/in\/tutorials\/how-to-add-custom-fonts-to-wordpress\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":2,"featured_media":138382,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"How to add custom fonts to WordPress: 3 easy methods","rank_math_description":"Add custom fonts to WordPress with the built-in Font Library, a font plugin, or @font-face CSS. Learn where to find fonts and how to convert them to WOFF2.","rank_math_focus_keyword":"how add fonts to wordpress","_content_updated_date":"2019-09-27","footnotes":""},"categories":[22667],"tags":[],"class_list":["post-758","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/how-to-add-custom-fonts-to-wordpress\/","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/tutoriais\/como-adicionar-fontes-personalizadas-wordpress\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/tutoriels\/ajouter-police-wordpress\/","default":0},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/tutoriales\/fuentes-personalizadas-en-wordpress\/","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/how-to-add-custom-fonts-to-wordpress\/","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/how-to-add-custom-fonts-to-wordpress\/","default":0},{"locale":"en-GB","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/how-to-add-custom-fonts-to-wordpress\/","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/how-to-add-custom-fonts-to-wordpress\/","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/how-to-add-custom-fonts-to-wordpress\/","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/how-to-add-custom-fonts-to-wordpress\/","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/how-to-add-custom-fonts-to-wordpress\/","default":0},{"locale":"es-AR","link":"https:\/\/www.hostinger.com\/ar\/tutoriales\/fuentes-personalizadas-en-wordpress\/","default":0},{"locale":"es-MX","link":"https:\/\/www.hostinger.com\/mx\/tutoriales\/fuentes-personalizadas-en-wordpress\/","default":0},{"locale":"es-CO","link":"https:\/\/www.hostinger.com\/co\/tutoriales\/fuentes-personalizadas-en-wordpress\/","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/pt\/tutoriais\/como-adicionar-fontes-personalizadas-wordpress\/","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/posts\/758","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/comments?post=758"}],"version-history":[{"count":45,"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/posts\/758\/revisions"}],"predecessor-version":[{"id":141295,"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/posts\/758\/revisions\/141295"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/media\/138382"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/media?parent=758"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/categories?post=758"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/in\/tutorials\/wp-json\/wp\/v2\/tags?post=758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}