Page 1 of 1

Font Awesome Pro doesn't work

Posted: 12 Jun 2018, 16:19
by ThijsV
We have bought Font Awesome Pro because we needed more icons, but how it the best way to implement this?
We are using a Premium template Serenity and somehow it conflicts with the default Font Awesome and doesn't use the Pro icons.

Does anyone have any tips to solve this problem? Thanks!

Re: Font Awesome Pro doesn't work

Posted: 13 Jun 2018, 07:55
by aragorn
Please change the value of the following param in web.xml to close default fontawesome;

Code: Select all

<context-param>
        <param-name>primefaces.FONT_AWESOME</param-name>
        <param-value>false</param-value> /* instead of true */
    </context-param>
Then, please import your fontawesome files in your project.

Re: Font Awesome Pro doesn't work

Posted: 17 Aug 2018, 14:40
by trumpP
font-family: "Font Awesome 5 Free" ,"fa-solid-900","fa-regular-400","fa-brands-400";

fa-solid-900,fa-regular-400 ,fa-brands-400 are the ttf filenames in fonts folder.

Hope it helps

Re: Font Awesome Pro doesn't work

Posted: 28 Aug 2018, 21:05
by cagatay.civici
Really useful, thank you for the tip.