beerForo Well-known member Nov 11, 2024 #1 I used to have it like this: Code: <i class="fa-icon-code"></i> TITLE here Can anyone get this to work for 2.3? Thanks!
I used to have it like this: Code: <i class="fa-icon-code"></i> TITLE here Can anyone get this to work for 2.3? Thanks!
BassMan Well-known member Nov 11, 2024 #2 Use it like this: HTML: <xf:fa icon="fa-icon-code" aria-hidden="true"/> Upvote 0 Downvote
beerForo Well-known member Nov 11, 2024 #3 Still not working. I think I am inputting the FA code wrong, can you post an example of any icon? Upvote 0 Downvote
beerForo Well-known member Nov 11, 2024 #5 Doesn't show an icon Code: <xf:fa icon="fa-comments" aria-hidden="true" /> Upvote 0 Downvote
BassMan Well-known member Nov 11, 2024 #6 Sorry, now I've read the title right. Are you talking about these banners? Upvote 0 Downvote
beerForo Well-known member Nov 11, 2024 #7 Yes I had icons before 2.3 in group banners. Upvote 0 Downvote
BassMan Well-known member Nov 11, 2024 #8 Create a custom class like this: Then add to extra.less: Less: .userBanner--administrator { &:before { .m-faContent(@fa-var-solid-badge-check); } } Upvote 0 Downvote
Create a custom class like this: Then add to extra.less: Less: .userBanner--administrator { &:before { .m-faContent(@fa-var-solid-badge-check); } }
beerForo Well-known member Nov 27, 2024 #9 Solution by @Jeremy P: Post in thread 'Font awesome icons 2.3 - categories, nodes, prefixes, phrases, templates etc...' Nov 27, 2024 You can use the JS renderer to accomodate places which aren't phrased or don't support template syntax: HTML: <i class="fa fa-bars" data-xf-init="icon"></i> Upvote 0 Downvote
Solution by @Jeremy P: Post in thread 'Font awesome icons 2.3 - categories, nodes, prefixes, phrases, templates etc...' Nov 27, 2024 You can use the JS renderer to accomodate places which aren't phrased or don't support template syntax: HTML: <i class="fa fa-bars" data-xf-init="icon"></i>