Archived topic
Font Awesome question (far class doesn't show any icon)
5 replies · Started by Verónica on May 11, 2018
Hi Tom and Leo!
I did some searches before opening this ticket, but I couldn't find the solution.
I'd like to add the following icon to my menu https://fontawesome.com/icons/user?style=regular which class is <i class="far fa-user"></i> instead of <i class="fa fa-user"></i>, but it doesn't being showed.
Do you have any idea why?
Like always, thanks so much for your help!
Hi Veronica, those icons are font awesome 5. Currently GP supports FA 4.7 as a legacy. So you need to use the icons listed here:
https://fontawesome.com/v4.7.0/
If you want to use FA 5 icons then i can recommend this plugin:
https://en-gb.wordpress.org/plugins/better-font-awesome/
regards
David
Hi David,
Thanks for your answer. I've installed the plugin but the latest version you can configure is also 4.7. Although, if I create a page, with the plugin I can insert a non-solid icon, but I can't not insert on the menu. Do you know the way to do it?
Thanks again!
Kind Regards,
Veronica.
Hi Veronica,
apologies if you need Font Awesome 5 you can follow this, but it is not required.
https://docs.generatepress.com/article/font-awesome/
To add icons to the menu then you can follow this:
https://docs.generatepress.com/article/adding-icons-to-menu-items/
Thanks so so much! Now after loading version 5 following this new instructions it works perfectly!
Thanks David.
Verónica
Glad i could help!