Trouble with new Fontawesome 6 icons in theme components

split from We're upgrading our icons to Font Awesome 6! - #26 :

Thanks for letting me know. But I was referring to the names specifically:

I’ve been using the theme components and they still use the FA5 names. I tried using FA6 names and it doesn’t work.

E.g. cocktail is a FA5 icon name. When i tried to use the FA6 name martini-glass-citrus it doesn’t work.

Cocktail in FA5:

Martini Glass Citrus in FA6:

Feel free to split this up into a separate topic if needed

1 Like

I just got it to work using martini-glass-citrus and cocktail.

Here are my settings in the Category Icons Theme Component

2 Likes

martini-glass-citrus works fine for me as a tag icon


Screenshot_20240926_054111_Firefox

3 Likes

@Lilly @Moin thanks for letting me know – I will try it out. Maybe I had forgotten to add martini-glass-citrus in the bottom field as well.

2 Likes

you shouldn’t have to - see my settings screenshot. shut up Lilly, listen to Moin. see my comment below :innocent:

3 Likes

Then it doesn’t work for me
Screenshot_20240926_055526_Firefox

3 Likes

ok now that is interesting. I wonder why? :face_with_monocle: :upside_down_face:

edit: because it is supposed to…

I was thinking about going to bed finally but now I am installing tag-icons for the very first time :laughing:

edit: I got it to work in the Tag Icons theme component

Screenshot 2024-09-25 at 9.11.00 PM

And yes, you do need to put the icon name in the bottom svg-icon setting - @Moin is correct. In my earlier post, having cocktail there meant it was automatically mapping to martini-glass-citrus.

5 Likes

Ok it works for me when i add martini-glass-citrus to the bottom setting. Thank you very much to you both!

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.