ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

@font-face and Firefox issue...

November 15, 2010 9:00am

Subscribe [13]
  • #31 / Oct 09, 2011 1:59pm

    slynndesign

    4 posts

    Hello All.

    I was noticing the same issue. Firefox will not allow you to load @font-face hosted on other domains (or sub-domains).

    I came across this solution which seems to be working for my websites sub-domains. In the .htaccess file in your root folder :

    RewriteEngine On
    
    RewriteBase /
    
    <FilesMatch "\.(ttf|otf|woff)$">
        <IfModule mod_headers.c>
            Header set Access-Control-Allow-Origin "*"
        </IfModule>
    </FilesMatch>

    I am no expert in this, and really don’t understand why it works, but it does for me.

    Cheers.

    Thanks for posting this! Solved my font issue in Firefox. Much appreciated.

  • #32 / Mar 22, 2012 9:53am

    Visual

    14 posts

    Hi i have done all of the above yet i still have a problem with my fonts
    and it’s only in Firefox

    any help?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases