yehudis grosz
yehudis grosz

Reputation: 83

bootstrap glyphicons are not working

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

Answers (3)

Sangrai
Sangrai

Reputation: 687

The main reason of not working "Glyphicon":

  1. If you are using from free i.e from bootstrap fonts.

Then write is as <i class="glyphicon glyphicon-arrow-down"></i>

Without "S".

  1. If you are using paid glyphon icons then use it with "s"

    glyphicons glyphicons-book

Hope it will help you!

Upvotes: 1

ItzMe_Ezhil
ItzMe_Ezhil

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

iamalpha99
iamalpha99

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

Related Questions