How to embed and use custom font
-
I checked this https://community.nodebb.org/topic/2674/registering-a-font article but it seems no one has yet provided any solutions.
I generated my custom font from fontsquirrel website and want to use it in nodebb forum.
How can I do that any idea??
-
@mkarmocha Just use custom css.
-
No, I cannot use that way because I have custom font folder which I have generated through font squirrel
-
If you want to use custom fonts, you should upload the font files (.woff etc.) into public folder and still declare them in Custom CSS.
However, I can't give you any examples as I've never tried it myself.
Perhaps this SO post can help...
-
@markkus I created the font folder in public directory and later declared my css in my less file and it worked !
Suggested Topics
Copyright © 2018 NodeBB | Contributors