Template Guides
Custom Fonts
You can use custom (web) fonts in your Cakedesk template, just like on a normal website.
#1. Move Font File into Template Folder
First, place the font file (.ttf works the best) in the same folder as your template.
#2. Specify Font in CSS
Next, specify the font in your CSS (styles.css):
@font-face {
font-family: MyFont;
src: url("./My-Font.ttf") format('truetype');
}
#3. Use the Font
Then, use the font, just as you normally would:
.body {
font-family: MyFont;
}