{"id":1361,"date":"2023-10-08T13:31:04","date_gmt":"2023-10-08T13:31:04","guid":{"rendered":"https:\/\/kentatheme.com\/?post_type=docs&#038;p=1361"},"modified":"2023-10-08T13:31:35","modified_gmt":"2023-10-08T13:31:35","slug":"custom-fonts","status":"publish","type":"docs","link":"https:\/\/kentatheme.com\/docs\/kenta-theme\/general\/custom-fonts\/","title":{"rendered":"Custom Fonts"},"content":{"rendered":"\n<p>Starting with the Kenta Companion premium version of<strong>\u00a0v1.2.0<\/strong>, we support adding your own fonts. You can easily use them in all layout customizer controls. Let us show you how to add fonts.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Add Your Fonts<\/h2>\n\n\n\n<p>Navigate to &#8220;<strong>Customizer -&gt; Global Settings -&gt; Custom Fonts<\/strong>&#8221; section and click the &#8220;<strong>Add Item<\/strong>&#8221; Button.<\/p>\n\n\n\n<figure class=\"wp-block-kenta-blocks-image kb-image kb-image-0fe5c2b9\"><img decoding=\"async\" src=\"https:\/\/www.wpmoose.com\/wp-content\/uploads\/2023\/09\/custom-fonts-1.png\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Upload Fonts File and Set Font Name<\/h3>\n\n\n\n<p>Then you need to set a font name. <mark style=\"background-color:rgba(0, 0, 0, 0);color:#e01111\" class=\"has-inline-color\"><strong>Please note that if you add multiple fonts, please ensure that their names are unique, otherwise the previous ones will be overwritten.<\/strong><\/mark><\/p>\n\n\n\n<p>You can then click the &#8220;Select File&#8221; button to upload and select your fonts file. <mark style=\"background-color:rgba(0, 0, 0, 0);color:#e7094d\" class=\"has-inline-color\">If you cannot upload font files here, please continue reading and we will introduce how to solve it later.<\/mark><\/p>\n\n\n\n<div class=\"wp-block-kenta-blocks-section kb-section-5fa41376 kb-section\">\n<div class=\"wp-block-kenta-blocks-column kb-column-wrapper kb-column-wrapper-ff6d7969\"><div class=\"kb-column kb-column-ff6d7969\"><div class=\"kb-column-content\">\n<figure class=\"wp-block-kenta-blocks-image kb-image kb-image-d0a12c3f\"><img decoding=\"async\" src=\"https:\/\/www.wpmoose.com\/wp-content\/uploads\/2023\/09\/6.png\" alt=\"\"\/><\/figure>\n<\/div><\/div><\/div>\n\n\n\n<div class=\"wp-block-kenta-blocks-column kb-column-wrapper kb-column-wrapper-9c733bb2\"><div class=\"kb-column kb-column-9c733bb2\"><div class=\"kb-column-content\">\n<figure class=\"wp-block-kenta-blocks-image kb-image kb-image-64db076a\"><img decoding=\"async\" src=\"https:\/\/www.wpmoose.com\/wp-content\/uploads\/2023\/09\/custom-fonts-3.png\" alt=\"\"\/><\/figure>\n<\/div><\/div><\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Using Your Custom Fonts.<\/h3>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0);color:#e7094d\" class=\"has-inline-color\">Please refresh the browser after saving<\/mark>, otherwise the font list will not show the newly added items.<\/p>\n\n\n\n<figure class=\"wp-block-kenta-blocks-image kb-image kb-image-3a47e87d\"><img decoding=\"async\" src=\"https:\/\/www.wpmoose.com\/wp-content\/uploads\/2023\/09\/custom-fonts-4.gif\" alt=\"\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Unable To Upload The Font File<\/h2>\n\n\n\n<p>By default, WordPress restricts the file types that can be uploaded, and font files may be restricted as well, so we need some other way to break the restriction.<\/p>\n\n\n\n<p>The easiest way is to use a plugin, we recommend <a href=\"https:\/\/wordpress.org\/plugins\/file-upload-types\/\" data-type=\"link\" data-id=\"https:\/\/wordpress.org\/plugins\/file-upload-types\/\" target=\"_blank\" rel=\"noreferrer noopener\">File Upload Types By WPForms<\/a> plugin.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Install Plugin<\/h3>\n\n\n\n<figure class=\"wp-block-kenta-blocks-image kb-image kb-image-9c221384\"><img decoding=\"async\" src=\"https:\/\/www.wpmoose.com\/wp-content\/uploads\/2023\/09\/2.png\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Choose All Fonts Types (.otf, .ttf, .woff)<\/h3>\n\n\n\n<figure class=\"wp-block-kenta-blocks-image kb-image kb-image-82235ebd\"><img decoding=\"async\" src=\"https:\/\/www.wpmoose.com\/wp-content\/uploads\/2023\/09\/3.png\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-kenta-blocks-image kb-image kb-image-0ad39aa1\"><img decoding=\"async\" src=\"https:\/\/www.wpmoose.com\/wp-content\/uploads\/2023\/09\/4.png\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Save Your Changes, Done!<\/h3>\n\n\n\n<p>You should now be able to upload your font files.<\/p>\n\n\n\n<figure class=\"wp-block-kenta-blocks-image kb-image kb-image-15aad0ac\"><img decoding=\"async\" src=\"https:\/\/www.wpmoose.com\/wp-content\/uploads\/2023\/09\/5.png\" alt=\"\"\/><\/figure>\n","protected":false},"featured_media":0,"parent":38,"menu_order":5,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-1361","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/docs\/1361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/comments?post=1361"}],"version-history":[{"count":1,"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/docs\/1361\/revisions"}],"predecessor-version":[{"id":1362,"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/docs\/1361\/revisions\/1362"}],"up":[{"embeddable":true,"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/docs\/38"}],"next":[{"title":"Social Networks","link":"https:\/\/kentatheme.com\/docs\/kenta-theme\/general\/social-networks\/","href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/docs\/717"}],"prev":[{"title":"Editor Sidebar Settings","link":"https:\/\/kentatheme.com\/docs\/kenta-theme\/general\/editor-sidebar-settings\/","href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/docs\/983"}],"wp:attachment":[{"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/media?parent=1361"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/doc_tag?post=1361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}