How to change the font ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
15th Feb 2022, 12:50 AM
Richard Kamski
11 Answers
+ 3
15th Feb 2022, 1:54 AM
JaScript
JaScript - avatar
+ 3
Richard Kamski i tried but it doesn't seem to work. So let's wait for the answer from someone who has now experience with this :D
15th Feb 2022, 2:36 AM
Rishi
Rishi - avatar
+ 3
For that you could counts in CSS section another font: font-family:'spacefont', cursive, 'arial-cursive';
15th Feb 2022, 11:46 AM
JaScript
JaScript - avatar
+ 2
What do you mean? It seems like that you're already using the font you wanted. What do you want to change?
15th Feb 2022, 2:24 AM
Rishi
Rishi - avatar
15th Feb 2022, 3:25 AM
NEZ
NEZ - avatar
+ 1
Wow that's impressive! Anyways that's not what I needed, I mean how to import and use a custom web font
15th Feb 2022, 1:59 AM
Richard Kamski
+ 1
This tag font-family:'spacefont', cursive; Means that I'm trying to use a custom web font ('spacefont'), and if that doesn't work then it displays the next font (cursive) which is a default font, and the one being displayed
15th Feb 2022, 2:27 AM
Richard Kamski
+ 1
I'm trying to import a font downloaded from the internet
15th Feb 2022, 2:28 AM
Richard Kamski
+ 1
NEZ oh hi invisible guy😅😂 Actually he asked using the font face. The one you shared is using another method
15th Feb 2022, 3:29 AM
Rishi
Rishi - avatar
+ 1
Font can be in truetype, woff, woff2, eot or even svg format Not every browser can use same font format. I don't know what you have But you can use fontsquirrel(dot)com Generator section to get all formats and css you need
16th Feb 2022, 8:27 AM
Viktor Tsybenko
16th Feb 2022, 5:48 AM
Samoral Damx Adeyemi
Samoral Damx Adeyemi - avatar