Russ
Well-known member
No, it doesn't actually change icons out of the box itself. It only gives an option to override icons on a per node basis. Our themes also use the fa-question-circle var. I did notice that Nirjonadda had specifically set his "question and answer" node to "fas fa-question" in the add-on if that's what you're looking at. It looks like the reason Flat Awesome doesn't work is because the theme has more specific CSS to target the icon. There's a couple potential edits either @Russ could make, or @Nirjonadda could do to his custom theme.
1. @Russ if you wanted to make a change in the core themes, then I'd suggest instead of adding icon override CSS in xb_forums.less, you can just update the icons in node_list.less to keep uniform with the default theme. However if you you'd prefer keeping default templates unedited, you could also update your selector with to include the custom icon class from the add-on. It would be. But since this isn't actually a theme issue or add-on issue, but rather just an incompatibility between products, then..Code:.node--unread:not(.th_node--hasCustomIcon)
@Nirjonadda you could make the change in your custom theme. In your case I would probably suggest just commenting out the lines in xb_forums.less that change the icon. That's all that would be required. The add-on actually is "working", it's just being overwritten by a bit of simple CSS is all.
Happy to help further if anyone has any questions
Thanks! I've taken a slightly different approach which should work. I'm targeting the comments icon specifically now. Additionally, if a user doesn't set an icon then our CSS won't load so it'll revert back to the default XF.
@Nirjonadda this approach should take care of the conflicts with the add-on.