Hey! Do you know how I can get custom fonts to work on my themes? Not Google Fonts, but ones from Dafont and whatnot. Everytime I've tried, they don't seem to work for my followers :/
Hello! Here’s what I do with my custom fonts. It might be a bit complicated but I’ll try to explain ti!
First, you can go to Font Squirrel’s online generator and upload your font, then it will generate files that are suitable for the web page. You can ignore the rest of the settings, but here’s the options I will suggest:
After the process is done, download your files and unzip the folder. Your files will probably look like this: (the highlighted ones are the ones we’re going to use later)
But first, let’s open the file “stylesheet.css”. If you don’t have Dreamweaver installed, it will probably be opened with Notepad. But either way, just copy the code and paste it to your theme under the tag
Ok so for some reasons, Tumblr’s theme asset function doesn’t really support web fonts. I’ve tried uploading fonts to Tumblr’s theme asset and even though the links can be generated, it just won’t work. Therefore if you have a dropbox account, I will suggest you to use it instead.
Upload all the highlighted files to your dropbox:
Click “share” on your files and create a share link for each of them
Now you replace all the file names with the links you copied, but remember to change “www.dropbox.com” to “dl.dropboxusercontent.com” in your links and remove the “?dl=0″ at the end
And now if you wanna use this font, just put “font-family: ‘your font’s name’; ” in the element
YAY!!!!
I hope this can help you out :)













