Sorry to bother but I was wondering how do you upload a custom font to your theme? It's not on google fonts so I may have to upload it somewhere else. AHHH I DONT UNDERSTAND ;-;
Hi there! It’s not a bother at all, though I should apologize as well for the late response. I’ve never uploaded a custom font before since I usually stick to what is on Google Fonts. There is a workaround that should work, I’ve never actually tried it so I’m sorry if this is incorrect!
Like you said, you are going to have to upload your font somewhere (a file hosting website or a dropbox) where you can link its url to Tumblr. Place this code below into the stylesheet/in between style tags on your theme.
@font-face { font-family: FONTTITLEHERE; src: url(http://fonturlhere);}
Of course replace ‘FONTTITLEHERE’ with the name of your font, and ‘fonturlhere’ will be the url of your font, from wherever you uploaded it. From there it should be pretty simple, just include the font name as you normally would when determining font properties of a theme.
randomdiv { font-family: FONTTITLEHERE;}
If the font you want to use is in a group (as in it has multiple fonts such as light,bold,etc) I would recommend uploading them all together just in case. Like I said I’ve heard of this but haven’t felt the need to use it, so hopefully this works! Hope that helps!
EDIT: w3schools has a page for using font-face, if you need more information!