S
S
Scuba2019-07-16 13:39:55
Fonts
Scuba, 2019-07-16 13:39:55

How to connect Font Awesome in Bitrix?

Can you please tell me how to include Font Awesome in the site template in 1C-Bitrix?
Registered in header.php like this:

$APPLICATION->SetAdditionalCSS("/bitrix/css/main/font-awesome.css");

The CSS file is connected, but I enter it in some tag, for example, and it is not displayed :( How to connect correctly?
<i class="fas fa-ellipsis-h"></i>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Scuba, 2019-07-16
@targetologru

The solution is simple: in the core of Bitrix FA version 4+, and I copied the code for version 5.
Replaced with<i class="fas fa-ellipsis-h"></i><i class="fa fa-bars" aria-hidden="true"></i>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question