Jump to content

FontAwesome icon problem

Featured Replies

Posted

Hi,

I follow a official guide to set a FontAwesome icon for forum: https://invisioncommunity.com/4guides/themes-and-customizations/tips-tricks_362/changing-fontawesome-icons-per-forum-r164/

I add this code in custom.css:

/*Forum personalized icon from FontAwesome*/
[data-forumid="10"] .fa-comments:before {
content: "\f091";
}
[data-forumid="5"] .fa-comments:before {
content: "\f11b";
}
[data-forumid="9"] .fa-comments:before {
content: "\f6e2";
}
[data-forumid="6"] .fa-comments:before {
content: "\f059";
}
[data-forumid="11"] .fa-comments:before {
content: "\f1ea";
}
[data-forumid="2"] .fa-comments:before {
content: "\f52b";
}

But not all icons work properly, even if the code works, and the icons are part of the free icons.

spacer.png
Can anyone tell me why?

Your icons for forum id 2 and 9 are invalid. Keep in mind we are using FontAwesome 4.7, not v5.

  • Author

Thanks for the reply!
I didn't think an old FontAwesome fusion was used. It would be nice to be updated!
Thanks again for the support.

3 hours ago, Andrea Vallini said:

It would be nice to be updated!

Yes... yes it would...

I noticed I could only use icons that started with 'f0' 

All others did not work. 

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.