Thread:JoePlay/@comment-24973012-20180129190220

Hi Joe! You recently allowed me to upload .ttf files to the Viscera Cleanup Detail Wiki, so I could use the font "SF Toontime". I uploaded the .ttf files (regular, bold, and italic), but have no idea how to refer to their location.

I've tried @font-face { font-family: "SF Toontime"; src: url('https://vignette.wikia.nocookie.net/viscera-cleanup-detail/images/4/4c/SFToontime.ttf/revision/latest?cb=20180129173220') format('truetype'); } and @font-face { font-family: "SF Toontime"; src: url('SFToontime.ttf') format('truetype'); } and neither one is allowing the font to display on pages. I tested by adding Testing text to a page and previewed it. It showed up as Times New Roman.

Help?!

As a side issue, is there a shorter way to refer to images (other than fonts) in Wikia.css, other than "https://vignette.wikia.nocookie.net/viscera-cleanup-detail/images/etc etc etc" ? Any way to shorten it to "images/imagename.png" ? I have searched fandom help for over an hour now, and cannot find the answer.

Thank you so much for your help! - Edit: I just tried testing again, and it seems the font is displaying with the first example code I posted (the long url). It seems it just took longer than I thought for the stylesheeet changes to apply.

So sorry!!

But, if there is a shorter url that I can use to refer to images/fonts, please let me know!

Apologies and thanks! 