Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Font icon not working on mozila #44

Open
KartikGoyal opened this issue Jun 17, 2014 · 7 comments
Open

Font icon not working on mozila #44

KartikGoyal opened this issue Jun 17, 2014 · 7 comments

Comments

@KartikGoyal
Copy link

Hi,

I am new to bootstrap themes. i just downloaded the code and checked in firefox. Font icons are not working. please check the attached image
metis

I guess some font is missing with the code.

Thanks
Kartik

@onokumus
Copy link
Collaborator

@KartikGoyal
What is your test platform?

@KartikGoyal
Copy link
Author

Here is the live URL for testing purpose.
http://v1.namowatch.in/Bootstrap-Admin-Template-master/dist/dashboard.html
This works fine in Google Chrome, but not in Mozilla as described as above.

@onokumus
Copy link
Collaborator

@KartikGoyal
You may need to add the MIME types in your web server's config (.htaccess, web.config).

http://stackoverflow.com/questions/11045799/font-face-isnt-working-in-firefox

@fellipeh
Copy link

Hello! In the latest firefox "security.fileuri.strict_origin_policy" by default set to "true". Thats why firefox couldn't found the file font icon files(e.g: fontawesome) since browser doesn't support by default to go relatively upward, but the strange thing is, its only applied to the font files.

As a solution you have to change “security.fileuri.strict_origin_policy” to false in the about:config settings

These solution works with pure html, but not with these project, these error appears:

downloadable font: incorrect file size in WOFF header (font-family: "FontAwesome" style:normal weight:normal stretch:normal src index:1)
source: http://127.0.0.1:8000/static/lib/font-awesome/fonts/fontawesome-webfont.woff?v=4.2.0

I'm using django, and django development server...

Cheers!

@fellipeh
Copy link

fellipeh commented Dec 1, 2014

I don't know why it's closed, because the error still appears.. in localhost... the other way to fix these is change que local file reference to use CDN..

@KartikGoyal
Copy link
Author

Sorry, I accidentally closed it.. an not not sure how to uno this. ..
oh!.. I just re-open

@KartikGoyal KartikGoyal reopened this Dec 1, 2014
@KartikGoyal
Copy link
Author

onokumus, Although I have deleted that code, but if it was coming fine on Google Chrome, this mean MIME types is already set otherwise it should not work on any browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants