Skip to main content

@font-face not working on firefox

The following code doesn't work for firefox even though opera, safari, and ie seem to be all working just fine with this:

@font-face {
font-family: 'OverlockBoldItalic';
src: url('Overlock-BoldItalic-OTF-webfont.eot');
src: url('Overlock-BoldItalic-OTF-webfont.eot?#iefix') format('embedded-opentype'),
url('Overlock-BoldItalic-OTF-webfont.woff') format('woff'),
url('Overlock-BoldItalic-OTF-webfont.ttf') format('truetype'),
url('Overlock-BoldItalic-OTF-webfont.svg#OverlockBoldItalic') format('svg');
font-weight: normal;
font-style: normal; }

i'd appreciate if anybody can troubleshoot. All the font files in those formats are uploaded under the site's NB account. 

Official response from

You might try some of the suggestions in this Stack Overflow thread where someone is having a similar problem. 

NationBuilder integrates with Typekit so you can bypass the headache often associated with getting @font-face to work perfectly. You can browse for a font similar to the one you are trying to use here.

You can also try Google web fonts which works well and is very easy to install in NationBuilder. Make sure to use the javascript embed method so it works on your secure pages too.

Share this post

Showing 10 reactions

How would you tag this suggestion?
Please check your e-mail for a link to activate your account.