I'm having trouble using custom fonts in my webapp. I downloaded a font called Chunkfive and put it in a folder app/assets/fonts/
. Then I went to my styles.css.scss
folder where I keep all of my css and installed the font like this:
@font-face {
font-family: "Chunkfive";
src: url(app/assets/fonts/Chunkfive.otf) format("truetype");
}
Then I changed the font of the body like this:
body {
padding-top: 70px;
background-color: #edf9fd !important;
font-family: "Chunkfive" !important;
}
Yet it doesn't work. I'm getting a font that looks like Times New Roman - this happens everytime when I try a custom font. What did I do wrong?