Andrej
Well-known member
Is there a better way to assign Node Icon A to Category A and forums under it, Node Icon B to Category B and forums under it, and so on without having to insert the code below for each node separately?
- Category A
- Forum A (Icon A)
- Forum B (Icon A)
- Forum C (Icon A)
- Category B
- Forum A (Icon B)
- Forum B (Icon B)
- Forum C (Icon B)
Code:
.node.node_81 .forumNodeInfo .nodeIcon, .node.node_81 .categoryForumNodeInfo .nodeIcon {
background-image: url("a.png");
background-position: 0px 0px;
}
.node.node_81 .forumNodeInfo.unread .nodeIcon, .node.node_81 .categoryForumNodeInfo.unread .nodeIcon {
background-image: url("a.png");
background-position: 0px 0px;
}