Menu Icons and FontAwesome v5.x and up

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
synaptic
Posts: 22
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!
Sapphire Theme 5.0.0
PrimeFace (Elite) 12.0.3
Mojarra JSF 2.3.14.SP04 & OmniFaces 3.11.2

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

20 Apr 2021, 11:26

Hi,

@burak Could you please check this issue?

Best Regards,

siris
Posts: 322
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 2 guests