Upload and apply custom fonts
A font uploaded to Media becomes an asset you can reference from CSS. Uploading it does not automatically change the page typography. Use an explicit font family, suitable fallback and the correct weight/style range for the file you actually own.
Before you start
Section titled “Before you start”- Confirm that your font license permits web hosting. Use a supported WOFF2, WOFF or TTF file and keep its family and weight information available.
-
Upload the font in Media and inspect the accepted asset. Use Copy @font-face to obtain a starting rule referencing the managed URL. Keep this rule in document CSS or a shared site stylesheet according to its intended scope.
-
Review font-family, src format, font-weight and font-style. Use the real range for a variable font or a specific weight for a static file. Add a suitable
font-displaystrategy and fallback family. -
Apply the family to the intended content, save the stylesheet and inspect Preview. Check headings, body text, form controls and Indonesian characters so the page does not unexpectedly fall back for part of its content.
-
Publish the page and required file version. Inspect the font request on the public origin and test a slow or failed font load. Avoid preloading every weight when only one is needed initially.
Check the result
Section titled “Check the result”- The public font request succeeds, text remains readable during loading and the intended weights render correctly.
Troubleshooting
Section titled “Troubleshooting”If the font falls back, check the public URL, saved/live stylesheet, family spelling, MIME and browser console. A copied rule still needs application through CSS; uploading another copy alone will not fix an incorrect family name.
Related guides
Section titled “Related guides”Applies to Strukt c02552848c92 · 2026-10-31