|
|
Thread Tools | Display Modes |
|
#1
|
|
|
Big grins
|
Fonts not displaying properly in IE9
I've come across a problem with my site, wondering if anyone can tell me what's going wrong.
I have two domains, synapticfire.co.uk (blog and actual physical hosting) and burningbranches.co.uk (SmugMug redirect). The fonts for the header of both pages (as I've tried to replicate the look & feel across both) sit in SynapticFire, and the CSS on SmugMug reflects this. Everything works fine in Chrome (because Chrome is a wonderful browser). I've had to make some changes on my server to allow Firefox to reference the font files from across domains, so everything now works fine in Firefox. However, Internet Explorer does not. I only discovered this when I started a job that mandated employees use IE9 ... urgh. Anyway, I can't see what the problem is, code wise. Code:
@font-face {
font-family: 'LeagueGothicRegular';
src: url('http://www.synapticfire.co.uk/wp-content/themes/purity/css/font/League_Gothic-webfont.eot');
src: url('http://www.synapticfire.co.uk/wp-content/themes/purity/css/font/League_Gothic-webfont.eot?#iefix') format('embedded-opentype'),
url('http://www.synapticfire.co.uk/wp-content/themes/purity/css/font/League_Gothic-webfont.woff') format('woff'),
url('http://www.synapticfire.co.uk/wp-content/themes/purity/css/font/League_Gothic-webfont.ttf') format('truetype'),
url('http://www.synapticfire.co.uk/wp-content/themes/purity/css/font/League_Gothic-webfont.svg#LeagueGothicRegular') format('svg');
font-weight: normal;
font-style: normal;
}
Is there something I'm missing (like Firefox needing a .htaccess modification to allow cross-domain file embedding)? Please help :) |
|
|
|
|
#2
|
|
|
Big grins
|
Hopeful thread bump
|
|
|
|
|
#3
|
|
|
Big grins
|
Nevermind, sorted it :)
Thanks to the IE Developer Tools (F12) Console I realised that it was suffering the same issue as Firefox was. When I looked at my Access-Control-Origin declaration in .htaccess it was only specified for .ttf and .otf files. I added in .eot and .woff and now it's working a charm :) |
|
|
|
| Tell The World! | |
| Similar Threads | Thread Starter | Forum | Replies | Last Post | ![]() |
| advanced customiser page not displaying properly | mtnbiker | SmugMug Support | 20 | Jul-06-2011 10:29 AM | |
| changing fonts for text in categories, links, galleries | kristenascott | SmugMug Customization | 1 | Jun-10-2010 01:18 PM | |
| Available fonts when customising | scopar | SmugMug Customization | 3 | Apr-23-2009 06:55 AM | |
| Gallery page not displaying properly in IE7 | Tomopteris | SmugMug Customization | 2 | Aug-15-2008 11:54 AM | |
| Pages not Displaying Properly | wyndham | SmugMug Support | 8 | Jun-20-2007 03:12 AM | |
| Thread Tools | |
| Display Modes | |
|
|