-
-
Notifications
You must be signed in to change notification settings - Fork 79k
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
Glyphicons don't work in BS3 downloaded through Bower #9940
Comments
¿How is this closed if I'm seeing this error still today? |
i closed this because no body is participant of this issue. i thought i am doing something wrong. the solution is to overwrite @icon-font-path value in LESS. |
I'm new to less, when I tried to compile the bootstrap.less I had an error compiling it I figured it was because the variables is in a different file, anyway it became to time consuming so I copied the fonts folder and that solved it. I know it might sound a lot harder than it actually is, but shouldn't there be a way to add a configuration so we dont have to do all this? or at least a script that fixes it somehow? |
you should use your own less file, for example screen.less. in this file you have to import bootstrap.less and than overwrite @icon-font-path value. |
now i got it! it was caused by storing web content to /web folder instead of root of project's directory. report:
in /.bowerrc file
in LESS the line ..
.. need to be overwritten to:
|
see PR #10941 |
when is this gonna get merged with master? |
I had a similar issue... in my case the library was under an alias domain (nginx) and solve it by refining* the domain's configuration file.
|
As specified in variables.less:
It throws error in Chrome:
GET http://herpy.derpy.local/assets/fonts/glyphicons-halflings-regular.woff 500 (Internal Server Error)
Solution working with bower (not tested when using customizer etc):
The text was updated successfully, but these errors were encountered: