C U S T O M F O N T S
Custom fonts are a great way to add a unique look to your site. You can customize the font used for all headers and base font (the content areas) through your website and page theme code editor.
Note:
When adding your custom font, the font file name should all be in lower-case letters and should not include any special characters. The font file should also be in a supported file format (e.g., html, liquid, css, scss, js, jpg, gif, png, ico, swf, svg, eot, ttf, or woff2).
IMPORTANT NOTE: Adding custom fonts to your site pages requires access to the Code Editor only available with Pro Plans. Learn more about our different pricing plans at kajabi.com/pricing.
Step 2: styles.scss.liquid
After successfully uploading the font file:
- Open the
styles.scss.liquidfolder. - Paste the following code at the very bottom of the
styles.scss.liquidfile replacing "yourfontname.ttf" with your custom font file name:
@font-face { font-family: "MyFont"; src: url({{ 'yourfontname.ttf' | asset_url }}); } body, p, h1, h2, h3, h4, h5, h6, ul, ol, a { font-family: "MyFont", sans-serif; }
- Click Save to keep your changes.
- Click Preview to confirm the typeface changes