XF 1.4 Forum Icons Working, but not for subforums - what's wrong with my code?

Chris Radford

Active member
Hi,

If you see here; http://www.onefootballforum.co.uk/ you will notice we have applied unique forum icons to each section. However, we can't get them to work for the subforums.

Example: http://www.onefootballforum.co.uk/index.php?forums/announcements.6/ (You will see Support & Feedback is a subsection, but the icon doesn't display). I've tried the code below;

Code:
.node .node_41 .forumNodeInfo .nodeIcon, .node .node_41 .categoryForumNodeInfo .nodeIcon {
background-image: url("images/icons/Support-and-feedback.png");
background-position: 0px 0px;
}
.node .node_41 .forumNodeInfo.unread .nodeIcon, .node .node_41 .categoryForumNodeInfo.unread .nodeIcon {
background-image: url("images/icons/Support-and-feedback.png");
background-position: 0px 0px;
}

This has worked for all our forums on the homepage, but for none of the subforums.

Can anybody please shed some light about what's my wrong my code?

Many thanks,
 
Hi,

Try with that:
Code:
.node_41 .forumNodeInfo .nodeIcon,
.node_41 .categoryForumNodeInfo .nodeIcon
{
    background-image: url("images/icons/Support-and-feedback.png") !important;
    background-position: 0 0 !important;
}

.node_41 .forumNodeInfo.unread .nodeIcon,
.node_41 .categoryForumNodeInfo.unread .nodeIcon
{
    background-image: url("images/icons/Support-and-feedback.png") !important;
    background-position: 0 0 !important;
}
 
Back
Top Bottom