Home › Forums › CSS › Custom Fonts Not appearing. › Reply To: Custom Fonts Not appearing.
August 30, 2016 at 12:34 am
#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;
}