Reputation: 83
i downloaded bootstrap.min.css via NuGet Package manager into my project in visual studio and the glyphicons are not working(but all the other bootstrap functions work...) I referenced it in the layout page:
.
and it does not work.
When i wrote this it worked but only when i have internet access:
what can be the problem that the glyphicons don't show up and all the other bootstrap functions work? I want to be able to work on my project even if i'm not connected to the internet.
I'm new to all of this and i would really appreciate some help.
Upvotes: 2
Views: 11619
Reputation: 687
The main reason of not working "Glyphicon":
Then write is as <i class="glyphicon glyphicon-arrow-down"></i>
Without "S".
If you are using paid glyphon icons then use it with "s"
glyphicons glyphicons-book
Hope it will help you!
Upvotes: 1
Reputation: 1406
Include all the required bootstrap files for fonts.
Demo: http://jsfiddle.net/rfehs6bg/16/
<p>
Hello, world!!!
<span class="glyphicon glyphicon-search" aria-hidden="true"></span>
</p>
Upvotes: 1
Reputation: 26
Keep the extracted folder of bootstrap at one place , and make sure you have 2 folders - css and fonts inside it. The glyphicons are inside the fonts folder. Afterwards just import css.min as you are doing and it will work fine.
Upvotes: 0