Custom Node Icons

LucaAzalim

Member
Licensed customer
Hello,

I found this thread about how to create custom node status icons, but it does not still working on XF 1.4, if I did it right... How can I do it now? Create custom icons (unread and read) for the nodes?

EDIT: I want to change this icons: http://prntscr.com/7gatte at a specific forum.
 
  • Like
Reactions: THB
That thread has a CSS selector error (need to remove the space between first two classes), and is missing the background-position which is needed as of XF 1.1. Try this revised code.

Code:
/* custom status icons */
.node.node_7 .forumNodeInfo .nodeIcon, .node.node_7 .categoryForumNodeInfo .nodeIcon {
    background-image: url("@imagePath/xenforo/widgets/forum-read-7.png");
    background-position: 0px 0px;
}
.node.node_7 .forumNodeInfo.unread .nodeIcon, .node.node_7 .categoryForumNodeInfo.unread .nodeIcon {
    background-image: url("@imagePath/xenforo/widgets/forum-unread-7.png");
    background-position: 0px 0px;
}
 
Back
Top Bottom