It is important * to use both glyphics and fontawesome, you will have to disable the icons with the same name. Suppose you want to use Glyphicons icon-screenshot than disable it in fontawesome.
And those icons that you want to use from fontawesome, disable them in glyphics. The first step is to include the fontawesome css file in the chapter section after the bootstrap.css file, for example:
If you want to use the icon-file from fontawesome, then just disable it in bootstrap.css. Like this
/ * icon-file {background-position: -24px -24px; } * /
<head> <link rel="stylesheet" href="css/font-awesome.min.css"> <link rel="stylesheet" href="css/bootstrap.min.css"> </head>
See Jsfiddle Jsfiddle with awesome font
Simple button with fontavesome icon: -
<a class="btn" href="#"> <i class="icon-repeat"></i> Repeat</a>
Nav Pills with amazing font: -
<ul class="nav nav-pills"> <li class="active"><a href="#"><i class="icon-file"></i> New File</a></li> <li><a href="#"><i class="icon-cut"></i> Cut</a></li> <li><a href="#"><i class="icon-edit"></i> Edit</a></li> <li><a href="#"><i class="icon-paste"></i> Settings</a></li> </ul>
Insert a space between the closing tag i and the words you enter after it.
source share