hi chat could someone pls give me the code that works now for fonts… i’m trying to find it rn and i couldn’t get it working :sob:
Reactions
Responses
I use this one everywhere for ex sntry and tidals and it works
<style> #img { position: relative; bottom: 270px; } #im { position: relative; bottom: 30px; } @font-face { font-family: 'Blood omen'; src: url('https://file.garden/ZwFX-sZ7RXh-dlnd/BloodOmen.ttf') } *:not(body) { font-family: 'blood omen' !important; font-size:30px; } @media only screen and (max-width: 900px) { *:not(body) { font-size: 30px; } #img { position: relative; bottom: 170px; } } a { color: #9D5759; text-decoration: underline; } * { color: #D27371 } </style>this doesn't work for all text but I'm sure you could edit the selectors to see if you can get it to work
@font-face { /* importing font; I typically download from DaFont and store on file.garden */ src: url(linktofontfilehere); font-family: FontNameHere /* you can use literally anything for this, just keep in mind this is how you'll refer to it. if you want to use spaces you'll need quotes around it too, but I personally find it easier to just mash it into one word / / optionally, you can add font-weight or font-style for variations of the same font if you have multiple files, but it isn't required. I'm p sure most browsers can make makeshift italics, but bolding isn't as widely covered. You'll want to get a font that has separate files for that if you rely heavily on markdown and such */ }
p { font-family: FontNameHere!important; /* the !important thing overrides the default font-family thing given to p elements by the site */ }