• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.0 Sub-forum icon

bsdinsight

Active member
#1
hi All

I am using code

Code:
.node .node_31 .forumNodeInfo .nodeIcon, .node .node_31 .categoryForumNodeInfo .nodeIcon {
    background-image: url("@imagePath/xenforo/widgets/forum-read-31.png") !important;
}
.node .node_31 .forumNodeInfo.unread .nodeIcon, .node .node_31 .categoryForumNodeInfo.unread .nodeIcon {
    background-image: url("@imagePath/xenforo/widgets/forum-unread-31.png") !important;
}

But sub-forum id 31 does not work (you can get my site at http://forums.bsdinsight.com/index.php?forums/dynamics-crm.9/)

Pls help me to fix it. Tks in advance

5-17-2014 9-01-52 PM.jpg
 

Tracy Perry

Well-known member
#2
hi All

I am using code

Code:
.node .node_31 .forumNodeInfo .nodeIcon, .node .node_31 .categoryForumNodeInfo .nodeIcon {
    background-image: url("@imagePath/xenforo/widgets/forum-read-31.png") !important;
}
.node .node_31 .forumNodeInfo.unread .nodeIcon, .node .node_31 .categoryForumNodeInfo.unread .nodeIcon {
    background-image: url("@imagePath/xenforo/widgets/forum-unread-31.png") !important;
}

Check to make sure you are editing the correct style EXTRA.css (if you have more than one style).
This is what works for me. I notice you have a space between .node and .node_31. Does NOT need to have a space (again, see below).

Code:
.node.node_2 .forumNodeInfo .nodeIcon, .node.node_2 .categoryForumNodeInfo .nodeIcon {
    background-image: url("images/nodes/node-sprite.png");
    background-position: 0px -88px;
    opacity: 0.4;
}
.node.node_2 .forumNodeInfo.unread .nodeIcon, .node.node_2 .categoryForumNodeInfo.unread .nodeIcon {
    background-image: url("images/nodes/node-sprite.png");
    background-position: 0px -88px;
    opacity: 1.0;
}