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

OpenIconic font icon not working in chrome #28

Open
lombervid opened this issue Sep 27, 2017 · 11 comments
Open

OpenIconic font icon not working in chrome #28

lombervid opened this issue Sep 27, 2017 · 11 comments

Comments

@lombervid
Copy link

lombervid commented Sep 27, 2017

Hello.

I´m using the bootstrap font icons and is not working in Chrome:
ichrome

while in Firefox:
ifirefox

Regards!

@aswzen
Copy link

aswzen commented Apr 1, 2018

it's already 2018 and still no clue why..

@ghost
Copy link

ghost commented Apr 19, 2018

I'm having the same problem

@cedced19
Copy link

cedced19 commented May 3, 2018

Same here.

@cedced19
Copy link

cedced19 commented May 3, 2018

I found a solution: in the CSS file just remove all the sources except src:url(../fonts/open-iconic.otf) format('opentype'). For my case it works as I use Electron but I don't know how to do to keep icons on other browsers. It seems to be a problem from Chrome and not from OpenIconic.

@gerbert92
Copy link

gerbert92 commented May 9, 2018

Icons dont show up when calling them while I have linked the "open-iconic-bootstrap.css" in my tag. Any one who can help over there...

@vrajavetrivel
Copy link

@cedced19 Your solution works perfectly. Thank you. Is it the good practice to do this?

@cedced19
Copy link

Usually I don't do this, because some of the browsers don't support all font format, but in my case I used it for a Electron app so I hadn't this problem.

@vrajavetrivel
Copy link

@cedced19 Oh. Got it. Thank you 👍 :)

@SaeedSalam
Copy link

I found a solution: in the CSS file just remove all the sources except src:url(../fonts/open-iconic.otf) format('opentype'). For my case it works as I use Electron but I don't know how to do to keep icons on other browsers. It seems to be a problem from Chrome and not from OpenIconic.

For me, changing the order worked in Chrome & Firefox.

Moved 'opentype' to first.

@font-face {
  font-family: 'Icons';
  src: url('../fonts/open-iconic.eot');
  src: url('../fonts/open-iconic.otf') format('opentype'), url('../fonts/open-iconic.eot?#iconic-sm') format('embedded-opentype'), url('../fonts/open-iconic.woff') format('woff'), url('../fonts/open-iconic.ttf') format('truetype'), url('../fonts/open-iconic.svg#iconic-sm') format('svg');
  font-weight: normal;
  font-style: normal;
}

Have to verify it on other browsers/devices though, but for now, am okay with it!
Thanks for the hint 👍

@phainamikaze
Copy link

I found a solution: in the CSS file just remove all the sources except src:url(../fonts/open-iconic.otf) format('opentype'). For my case it works as I use Electron but I don't know how to do to keep icons on other browsers. It seems to be a problem from Chrome and not from OpenIconic.

it work, Thank you

@Rudedog9d
Copy link

I am noticing this problem with electron in Windows 7, but not Windows 10. Has there been any progress on fixing this? We use yarn for dependencies, so editing the file isn't really an option

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

8 participants