-
-
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 return wrong symbols or errors / Thumbnails display only text / Buttons don't display gradients #13336
Comments
This is unlikely to be specifically Bower-related. |
I just tried bootstrap.css and bootstrap.min.css which come with the latest package on Bower:
I am using Ubuntu Linux LTS 12.04 with latest Chrome, Chromium and Firefox, which display exactly the same results. |
Please post a JS Fiddle, CodePen, JS Bin, or similar that demonstrates the problems. |
Please have a look here: I used the minifed output. |
Please use BootstrapCDN for the Bootstrap CSS & JS assets in the example and also remove Font Awesome from the example. |
Also, you realize that the example placeholder thumbnail image uses holder.js, right? |
Pending a revised JS Bin to the contrary, my conclusion is that you merely didn't implement the example completely correctly. |
Using the hosted css/js it is working. However, using LESS from Bower, the Glyphicons don't show up or show up wrong. There still seems to be something wrong with the paths of the font-variables as reported by other users. The fonts are placed in `/bower_components/bootstrap/fonts/...``, but strangely the links refer to the public folder where the css/js is hosted. I get a 404 for all font families:
|
|
LESS should resolve the absolute path as specified in
|
Yeah, so you're effectively changing the locations of the CSS and the fonts relative to one another, thus you'll have to override the |
Ah, well, if it's a less.js problem, then there's not much we can do about it... |
There seems to be a problem with glyphicon.less (wrong or no sysmbols), thumbnails.less (displays only text) and the button gradient, which is not displaying at all.
I am using Bower to pull the latest LESS version of Bootstrap and compile CSS/JS with Grunt:
I am organising my main less-file as suggested. In order to test the setup I am using the sample Bootstrap theme. All features display correctly with the mentioned exception.
Would appreciate your advice.
The text was updated successfully, but these errors were encountered: