The code seems to work but I still can't see any icons in my pages....

Apr 27, 2015 at 1:38 PM
This is re-posted from the "Issues" section. Sorry if that inconveniences anybody.


Hi all!

I have successfully installed FontAwesome for MVCC Razor Tools and built my project but I can't see any icons in my test page. I tried the following examples:

@Html.FontAwesome(FontAwesomeIconSet.Star, FontAwesomeStyles.Large5x)
@Html.FontAwesome(FontAwesomeIconSet.Cog, FontAwesomeStyles.Large5x)

I can see that these render HTML to the page correctly like this:
<i class="fa fa-star fa-5x"></i>
<i class="fa fa-cog fa-5x"></i>

But in the browser, I see nothing. Is it supposed to inject some reference to a stylesheet and/or font somewhere? Or am I supposed to do that? I read the documentation here:

https://fontawesome.codeplex.com/documentation

But there is nothing at all about including extra files or setting it up, so I assumed it was plug-in-and-play.

Can anybody help please?

Many thanks!

Benjamin