XF 1.4 Node Icons

|Jordan|

Active member
I got custom node icons working for my forums (each forum gets a different icon) and they display fine on the "index.php?forums" page. But when i click one of my categories and im taken to "index.php?categories/announcements.2/" it shows the old default icons. Any idea how to fix this?

Here's a sample of the code im using:

HTML:
.node .node_2 .forumNodeInfo .nodeIcon, .node .node_2 .categoryForumNodeInfo .nodeIcon {
    background-image: url("data/img/category/announcements.png");
}
.node .node_2 .forumNodeInfo.unread .nodeIcon, .node .node_2 .categoryForumNodeInfo.unread .nodeIcon {
    background-image: url("data/img/category/announcements.png");
}
 
Try:

Code:
.node_2 .forumNodeInfo .nodeIcon, .node_2 .categoryForumNodeInfo .nodeIcon {
background-image: url("data/img/category/announcements.png") !important;
}
.node_2 .forumNodeInfo.unread .nodeIcon, .node_2 .categoryForumNodeInfo.unread .nodeIcon {
background-image: url("data/img/category/announcements.png") !important;
}

You have the .node in front of the .node_# which works on the main forum page but doesn't carry over to the forum view pages because it's not inside the typical container with the sub-heading.
 
Back
Top Bottom