A
A
Alyosha2018-02-11 14:06:01
ASP.NET
Alyosha, 2018-02-11 14:06:01

How to connect Font-Awesome icons to ASP.NET MVC?

I threw it into the wwwroot / css folder - it didn’t work

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alyosha, 2018-02-11
@digna

Connected via Bower

I
ink, 2018-02-11
@AskMy

and how do you include style.css ?

A
Alisher Sabirov, 2018-02-14
@Phoenix2222

1. Create a folder "Fonts" in the project (if it doesn't exist)
2. Drop "Font-Awesome Icons" there and drop the font-awesome.css file into the "Content/style" folder
3. In the "Solution Explorer" menu, click on the "Show All Files" button
4. The contents of the "Fonts" folder will be displayed as hidden files, select everything, press the right button and select "Include in project"
5. After already on the view "_Layout.cshtml" or "MasterPage.cshtml" inside the tag add style font-awesome
EXAMPLE:

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question