Bohn
Bohn

Reputation: 26919

Replacing glyph icons with FontAwesome icons

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?

Upvotes: 0

Views: 2309

Answers (2)

user4244405
user4244405

Reputation:

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?

Upvotes: 1

user5563910
user5563910

Reputation:

I think this would work:

<span><i class="fa fa-angle-up"></i></span>
<span><i class="fa fa-angle-down"></i></span>

Upvotes: 1

Related Questions