Bootstrap-Admin-Template icon indicating copy to clipboard operation
Bootstrap-Admin-Template copied to clipboard

Font icon not working on mozila

Open KartikGoyal opened this issue 11 years ago • 7 comments
trafficstars

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

KartikGoyal avatar Jun 17 '14 22:06 KartikGoyal

@KartikGoyal What is your test platform?

onokumus avatar Jun 17 '14 22:06 onokumus

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.

KartikGoyal avatar Jun 18 '14 06:06 KartikGoyal

@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

onokumus avatar Jun 18 '14 10:06 onokumus

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!

fhbash avatar Nov 29 '14 22:11 fhbash

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..

fhbash avatar Dec 01 '14 11:12 fhbash

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

KartikGoyal avatar Dec 01 '14 11:12 KartikGoyal

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.

KartikGoyal avatar Dec 01 '14 11:12 KartikGoyal