Font Awesome Pro doesn't work

Post Reply
ThijsV
Posts: 12
Joined: 14 Jul 2016, 13:58

12 Jun 2018, 16:19

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!

User avatar
aragorn
Posts: 3081
Joined: 29 Jun 2013, 12:38

13 Jun 2018, 07:55

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.

trumpP
Posts: 12
Joined: 11 Aug 2018, 11:20
Contact:

17 Aug 2018, 14:40

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

Post Reply

Return to “Serenity - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest