Menu Icons and FontAwesome v5.x and up

Post Reply
synaptic
Posts: 13
Joined: 30 Jan 2019, 16:59

06 Apr 2021, 22:50

hello,
FontAwesome v5.x with primefaces.font-awesome=false <p:menuitem .... icon="fas fas-user">, the icon always broken or not showing up at all.
Totally followed those instructions https://primefaces.github.io/primefaces ... /fonticons
I've tried all options from https://fontawesome.com/how-to-use/on-t ... /basic-use like fas, far, fal, etc - same, the icon always broken or not showing up at all.

Notes:
FontAwesome v4.x with font-awesome=true <p:menuitem .... icon="fa fa-fw fa-user">, works fine.
When using Sapphire materials icons in the <p:menuitem icon="account_circle"> from https://www.primefaces.org/sapphire/utils.xhtml, all works fine.

Appreciate the help!

tugce.kucukoglu
Posts: 70
Joined: 23 Oct 2020, 09:28

20 Apr 2021, 11:26

Hi,

@burak Could you please check this issue?

Best Regards,

siris
Posts: 144
Joined: 29 Jul 2019, 13:57

22 Apr 2021, 15:43

Hi,

Sorry for the late response! Which version of PrimeFaces are you using? You may need to upgrade version.

Best Regards,

Post Reply

Return to “Sapphire - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest