Patrick W
Patrick W

Reputation: 41

Font face can't load

I use a fontface from font squirrel but they don't load. is there something in the code that has conflict?

@font-face {font-family: 'chunk-webfont';
    src: url('/fonts/chunk-webfont.eot');
    src: url('/fonts/chunk-webfont.eot?#iefix') format('eot'),
    url('/fonts/chunk-webfont.woff') format('woff'),
    url('/fonts/chunk-webfont.ttf') format('truetype'),
    url('/fonts/chunk-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;}

Upvotes: 1

Views: 657

Answers (1)

sanoj lawrence
sanoj lawrence

Reputation: 993

try this

@font-face {font-family: 'chunk-webfont';
    src: url('fonts/chunk-webfont.eot');
    src: url('fonts/chunk-webfont.eot?#iefix') format('eot'),
    url('fonts/chunk-webfont.woff') format('woff'),
    url('fonts/chunk-webfont.ttf') format('truetype'),
    url('fonts/chunk-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;}

Upvotes: 1

Related Questions