how to have a custom font in neocities (cuz i didnt know and didnt find any good tuts)

so first you download a font u want (dafont.com is the best). This will give you a .ttf file. You can upload this .ttf file onto Neocities. Then this is the code you want to use:

insert area here {font-family: 'name of font';}

bold is what you would change if you want it to be a certain heading or such; if you want only your body text, put "p", if you want all text, then put "body", and so on and so forth.

italic is where you would put the name of the font. This will probably be the name of the .ttf file, but if you open the file as well, it will give you the actual name, too.


so yeah sorry if this is lowk obvious but i had to learn ts myself so im just repeating it so that other ppl arent confused n stuff :P


0 Kudos

Comments

Displaying 0 of 0 comments ( View all | Add Comment )