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.
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.
Showing 10 reactions
Sign in with
Certified Expert
Film and Campaign Ltd.
Certified Architect
The FontSquirrel generator mentioned below doesn’t work with non-FontSquirrel fonts – but MyFonts.com offered this option when compiling a webfont kit so it’s all sorted now.
Just putting this here for future reference.
Replace
url(‘Overlock-BoldItalic-OTF-webfont.woff’) format(‘woff’),
with
url(data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAA… (omitted) …a6YAAA==) format(‘woff’),
And keep the rest the same.
I succeed in one point and failed on the other point. im still attempting to figure out what causes a success or a failure. Haven’t found it yet.
src: url(data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAA… (omitted) …a6YAAA==) format(‘woff’),
didn’t succeed in the FireFox. This only leave the possibility that FireFox doesn’t allow cross domain linking so far.