How to add a custom font in a theme

To use a custom font, simply upload the font to your theme folder and then add a CSS @font-face declaration to the top of your theme’s style.css file pointing to the new font:

@font-face {
font-family: CustomFont;
src: url('CustomFont.ttf');
}

You can then reference that custom font in other CSS styles, for example:

.entry-content { font-family: "CustomFont", sans-serif; }