How can I add a custom font

Hi,

I followed the instruction to add a custom font into wordpress. What I did so far.

1. Converted the TTF to WOFF, WOFF2, SVG, EOT
2. Create CSS- File
font-family: 'bauhaus_93regular';
src: url('bauhs93.eot');
src: url('bauhs93.eot?#iefix') format('embedded-opentype'),
    url('bauhs93.woff2') format('woff2'),
url('bauhs93.woff') format('woff'),
    url('bauhs93.ttf') format('truetype'),
    url('bauhs93.svg#webfont') format('svg');
font-weight: normal;
    font-style: normal;
}
3. Uploaded everything into the ../betheme/fonts directory

So far so good, but how can I actually use the new font in the betheme?

Thx for your help
Christof

Comments

Sign In or Register to comment.