How to add my loaded font to Bootstrap template? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to add my loaded font to Bootstrap template?

I can not find the file where the font family for the body is specified. I don’t like to connect fonts through head. I downloaded fonts, wrote font-face rules, imported first into bootstrap.scss now I don’t know where to write font-family. I am thinking of creating a mixin with fonts, as is usually done in such situations?

20th Feb 2020, 8:29 AM
Anna/Аня
Anna/Аня - avatar
1 Answer
0
Hello, You can try creating custom CSS and override that particular class with your CSS code.
21st Feb 2020, 5:48 AM
Ishan Shah
Ishan Shah - avatar