Jump to content

FontAwesome icon problem


Andrea Vallini

Recommended Posts

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?

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...