{"id":18770484,"date":"2025-12-30T08:00:58","date_gmt":"2025-12-30T08:00:58","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/define-fallback-font\/"},"modified":"2025-12-30T08:00:58","modified_gmt":"2025-12-30T08:00:58","slug":"define-fallback-font","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/define-fallback-font\/","title":{"rendered":"Define fallback font?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Good morning and merry xmas!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;m twiddling with abisko and wordpress in general, and it is generally a good experience. Thank you for this!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">TL;DR: How do I specify the fallback-font to be &#8220;sans-serif&#8221; ?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When I was closing in on completion, I created a font-subset to have a reduced download-weight on the fonts, and it initially collided with the cache or something. This made me see the page as it probably would look on a very slow (3G?) connection, and the font it used was a serif system font? Can I change this to be <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>font-display: swap;<\/code><br \/><code>font-family: \"mywebfont\", sans-serif;<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;d like this to be embedded way up in the &#8220;editor-hierarchy&#8221;, but if necessary would throw it in the style.css of course&#8230;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you!<\/p>\n","protected":false},"template":"","class_list":["post-18770484","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18770484","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18770484\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18770484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}