I want to change a default font to a certain font, how do i change fonts? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I want to change a default font to a certain font, how do i change fonts?

<div style="color: #17408C; text-shadow: black 1px 1px 1px; letter-spacing: 1px; font-size: 68px; text-transform: uppercase; font-family: housegothic-lightfourregular;"> I want to use the 1942 report font, which can be found in dafont.com basically replacing house Gothic with 1942 report

13th Jan 2019, 5:57 PM
Sean
Sean - avatar
2 Answers
+ 1
Hello, Sean!) You need to download your font and include it before font-family with "font-face" property)
13th Jan 2019, 6:26 PM
bondcoder
bondcoder - avatar
+ 1
//You need to import the font first then only font family works https://www.sololearn.com/discuss/1034396/?ref=app
13th Jan 2019, 7:40 PM
Sudarshan Rai
Sudarshan Rai - avatar