Claudio
Well-known member
Many people have been asking "how can I change the node icons"?
My questions is a little different.
I want to set a specific icon for each node but I don't care if the node is read or unread.
This is the best code I've found (http://xenforo.com/community/threads/rc-1-custom-node-status-icons-read-unread.10886/):
However, due I'm not going to use a different icon for read/unread, I'd like to know if there's a shorter code to do what I want and show ICON1 for NODE1 no matter if it's read or unread.
Thank you!
My questions is a little different.
I want to set a specific icon for each node but I don't care if the node is read or unread.
This is the best code I've found (http://xenforo.com/community/threads/rc-1-custom-node-status-icons-read-unread.10886/):
Code:
/* custom status icons */
.node .node_7 .forumNodeInfo .nodeIcon, .node .node_7 .categoryForumNodeInfo .nodeIcon {
background-image: url("@imagePath/xenforo/widgets/forum-read-7.png");
}
.node .node_7 .forumNodeInfo.unread .nodeIcon, .node .node_7 .categoryForumNodeInfo.unread .nodeIcon {
background-image: url("@imagePath/xenforo/widgets/forum-unread-7.png");
}
However, due I'm not going to use a different icon for read/unread, I'd like to know if there's a shorter code to do what I want and show ICON1 for NODE1 no matter if it's read or unread.
Thank you!