Reputation: 81
Dear fellow designers/developers
I have created 8 extra glyphicons for my bootstrap website. Uploaded them to icomoon and downloaded them as font, this all works perfect.
I am able to add my font to my CSS and use it in HTML withou any problem, but I want to use the font as extra Glyphicons.
How can I do this?
Upvotes: 8
Views: 20133
Reputation: 28859
Steps to use font-Awsome
Add font-awesome.css file as a reference in your web-page
<link href="~/Content/font-awesome-4.5.0/css/font-awesome.css" rel="stylesheet" />
get icons as told by @G Ravinder i.e.
<i class="fa fa-desktop"></i>
<span class="fa fa-desktop"></span>
That's all :-)
Upvotes: -1
Reputation: 1514
refer to this website which provides the font icons to bootstrap
download fontawesome here fontawesome.io
add css file link to your page
<link href='/path/to/font-awesome.css' rel='stylesheet'/>
use css classes mentioned in font-awesome.css
stating with 'fa-'
example: <i class="fa fa-desktop"></i>
please copy css
and fonts
folders to same folder
Upvotes: 14