Style properties to set the icons per thread and forum type

Brogan

XenForo moderator
Staff member
Rather than having to edit templates or use extra.less, it would be ideal if there were style properties for setting the icons.

It wasn't so much of an issue before but with the introduction of forum and thread types and the new layouts, it would just make things a lot easier.

For example, this is what I have to use to change the round speech bubbles to square ones everywhere it's displayed (I may still have missed somewhere).
CSS:
.node--forum .node-icon .fa-comments::before,
.subNodeLink--forum .node-icon .fa-comments::before,
.subNodeLink.subNodeLink--forum:before,
.structItem-status--discussion::before,
.inputTypes-display--type_discussion .fa-comments:before,
.fa-comment:before
{
    .m-faContent(@fa-var-comments-alt);
}

If I also wanted to change the article, question, and suggestion icons it would require more CSS, targeting the specific types.
 
Upvote 13
Top