Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Custom Fonts Not appearing. Reply To: Custom Fonts Not appearing.

#245035
Atelierbram
Participant

Tried something with webfonts from the Github repo of “theleagueof”, so I hope they are the same. Slightly different syntax on the @fontface declaration; without the “local” smiley-face emoticon, but does work for me.

@font-face {
    font-family: 'Blackout Sunrise';
    src: url('../webfonts/blackout_sunrise-webfont.eot');
    src: url('../webfonts/blackout_sunrise-webfont.eot?#iefix') format('embedded-opentype'),
         url('../webfonts/blackout_sunrise-webfont.woff') format('woff'),
         url('../webfonts/blackout_sunrise-webfont.ttf') format('truetype'),
         url('../webfonts/blackout_sunrise-webfont.svg#BlackoutSunrise') format('svg');
    font-weight: normal;
    font-style: normal;
}