0

I am using following code to render font awesome icons

Index.html: <link rel="stylesheet" href="/bower/fontawesome/css/font-awesome.min.css">

On the page: <p><i class="fa fa-gear fa-5x"></i> fa-gear</p> This results in - See below image for result:

enter image description here

But when I change it to <p><i class="fa-square-o"></i> fa-gear</p> when I use class fa-square-o I do not see correct result .See this image

What needs to be done to fix this issue?

enter image description here

SharpCoder
  • 18,279
  • 43
  • 153
  • 249
  • you need to add the 'fa' class to every icons, if its still not showing, may be the icon wasn't present in this version of font awesome. – Sobin Augustine Oct 17 '14 at 06:38

1 Answers1

0

You need to add the fa class also:

<i class="fa fa-square-o"></i>
Michael Schneider
  • 496
  • 1
  • 9
  • 27