puikinsh / Bootstrap-Admin-Template

Metis - Free Bootstrap Admin Dashboard Template
https://colorlib.com/polygon/metis/
MIT License
2.72k stars 1.31k forks source link

Font icon not working on mozila #44

Open KartikGoyal opened 10 years ago

KartikGoyal commented 10 years ago

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 commented 10 years ago

@KartikGoyal What is your test platform?

KartikGoyal commented 10 years ago

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 commented 10 years ago

@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 commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

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

KartikGoyal commented 9 years ago

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.