-
Include Font Awesome
Hi there,
I want to include FontAwesome in Contao 3.5.25. The way i set it up right now is: made a custom folder with the 2 fontawesome css files and added the following link in the head section: <link rel="stylesheet" href="/files/marage/font-awesome/font-awesome.min.css">. Css looks like this on the after:
content: '\f13d';
font-family: FontAwesome;
display: inline-block;
position: relative;
top: -20px;
padding: 0 3px;
background: #fff;
color: #8c8c8c;
font-size: 28px;
But the icons don't show up, only that square icon.
Thanks a lot.
-
First of all, there is an extension that you can use:
Secondly, if you want to include FontAwesome without the extension, you should simply add the CSS file via the "External style sheets" option in your page layout. Also, you only talked about 2 CSS files. You also need to provide the font files of course (which are referenced in the CSS).
-