Self-hosted fonts
The Zero One theme by default has self-hosted fonts. All you have to do is add yours instead.
If you are new to this subject, you can learn more about it:
Or here (video) https://teamtreehouse.com/library/selfhosted-webfonts
Where?
Custom fonts are located in:
assets/css/fonts/
folder. This is where you add your font files.assets/css/fonts.css
file. In this file, you import your fonts.
Add fonts
Add your fonts in the assets/css/fonts/
folder.
If you have only desktop font versions, you can convert them to web fonts, for example here:
Customize assets/css/fonts.css
file
assets/css/fonts.css
fileThe assets/css/fonts.css
file is loaded only if Fonts URL input in Site Styling tab is empty.
Just change the assets/css/fonts.css
file to comply with your fonts.
Set new fonts in the Site Styling tab
The only thing left to do is set your new fonts in the Site Styling tab -> Typography section and compile a new stylesheet, with your new styles.
Last updated