XF 2.1 Changing forum node icons

Rettep

Member
Hello! I've searched around here to find a solution. I have done it before, but forgot now on how to do it.

I want to change the icons in my forum:
1606318023635.webp

I remembered that I put a template in extra.less , but I can not seem to find the exact template. What I can find here on the forums is just on how to change the read/unread icons. But I just want to change the general icons.

Thanks in advance.
 
If I want my forum section to have this icon: https://fontawesome.com/v4.7.0/icon/bullhorn

and the link is to index.php?forums/news-announcements.4/

how would the code be then?
Code:
.node.node--id4.node--forum.node--read .node-icon i:before {
    .m-faBase();
    .m-faContent("\f0a1");
}
.node.node--id4.node--forum.node--unread .node-icon i:before {
    .m-faBase();
    .m-faContent("\f0a1");
    font-weight: 900;
}
 
If you want to keep the same icon for read and unread nodes just past this code
CSS:
.node.node--id4.node--forum .node-icon i:before {
    .m-faBase();
    .m-faContent("\f0a1");
}
 
Top Bottom