0

For collapse/expand icons curretnly I have this in my Razor code:

<span class="glyphicon glyphicon-minus"></span>

So it has the "+" and "-" icons that my JS uses to toggle between them.

Now I want to use Up and Down arrows, how can I use FontAweosme up and down arrows?

Bohn
  • 26,091
  • 61
  • 167
  • 254

2 Answers2

1

I think this would work:

<span><i class="fa fa-angle-up"></i></span>
<span><i class="fa fa-angle-down"></i></span>
  • Thanks will mark your's as answered but acutally I found that glyph icons have that icon too, so ended up using this: – Bohn Apr 12 '16 at 22:21
  • Oh great. It will hopefully help someone else in the future. Thanks! –  Apr 12 '16 at 22:22
1

To replace "Glyph Icons" with "FontAwesome"

Visit: https://fortawesome.github.io/Font-Awesome/get-started/ and follow instructions.

Icon-font replacement and custom font glyphs

If you're looking for in depth control over custom fonts and glyph-class-names, see these answers: How to create custom font icons?

Community
  • 1
  • 1