Trying to use local font in custom css #1935
Answered
by
PierreMarchand20
PierreMarchand20
asked this question in
Q&A
-
I have a local font that I would like to use as a I have my custom font in @font-face {
font-family: "My font";
src: url("fonts/myfont.ttf") format("truetype");
}
@mystyle {
font-family: "My font";
} But when using |
Beta Was this translation helpful? Give feedback.
Answered by
PierreMarchand20
Nov 8, 2020
Replies: 1 comment
-
I made it work putting my font in |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
PierreMarchand20
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I made it work putting my font in
static/css/fonts/myfont.ttf
instead, but I am not sure it is the right way to go though.