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

XF 1.2 node icon help...

JMEWLS

Active member
#1
http://nbadimensions.net/xforums/forums/

That is my forums, I've simply been following the code found on the forums. It doesn't look wrong to me and now my forum icons are aligned to far to the right and the logos are different across the forums...


I can see it fine on my main page, but when I go on internet explorer is when it stuffs up. Even when I log out.

Code:
/* custom status icons */
/* NBA Forum */
.node .node_316 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/nba/forum_new-48.png");
}
.node .node_316 .forumNodeInfo.unread .nodeIcon, .node  .categoryForumNodeInfo.unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/nba/forum_old-48.png");
}

/* offtopic Forum */
.node .node_319 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/offtopic/forum_new-48.png");
}
.node .node_319 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/offtopic/forum_old-48.png");
}

/* celtics Forum */
.node .node_239 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/celtics/forum_new-48.png");
}
.node .node_239 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/celtics/forum_old-48.png");
}

/* bulls Forum */
.node .node_243 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/bulls/forum_new-48.png");
}
.node .node_316 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/bulls/forum_old-48.png");
}

/* hawks Forum */
.node .node_237 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/hawks/forum_new-48.png");
}
.node .node_316 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/hawks/forum_old-48.png");
}

/* nets Forum */
.node .node_257 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/nets/forum_new-48.png");
}
.node .node_257 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/nets/forum_old-48.png");
}

/* knicks Forum */
.node .node_259 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/knicks/forum_new-48.png");
}
.node .node_259 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/knicks/forum_old-48.png");
}

/* sixers Forum */
.node .node_251 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/sixers/forum_new-48.png");
}
.node .node_251 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/sixers/forum_old-48.png");
}

/* heat Forum */
.node .node_253 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/heat/forum_new-48.png");
}
.node .node_253 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/heat/forum_old-48.png");
}

/* pistons Forum */
.node .node_247 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/pistons/forum_new-48.png");
}
.node .node_247 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/pistons/forum_old-48.png");
}

/* pacers Forum */
.node .node_249 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/pacers/forum_new-48.png");
}
.node .node_249 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/pacers/forum_old-48.png");
}

/* magic Forum */
.node .node_235 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/magic/forum_new-48.png");
}
.node .node_235 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/magic/forum_old-48.png");
}

/* raptors Forum */
.node .node_261 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/raptors/forum_new-48.png");
}
.node .node_261 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/raptors/forum_old-48.png");
}

/* bucks Forum */
.node .node_255 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/bucks/forum_new-48.png");
}
.node .node_255 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/bucks/forum_old-48.png");
}

/* wizards Forum */
.node .node_263 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/wizards/forum_new-48.png");
}
.node .node_263 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/wizards/forum_old-48.png");
}

/* cavaliers Forum */
.node .node_245 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/cavaliers/forum_new-48.png");
}
.node .node_245 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/cavaliers/forum_old-48.png");
}

/* bobcats Forum */
.node .node_241 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/bobcats/forum_new-48.png");
}
.node .node_241 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/bobcats/forum_old-48.png");
}

/* nuggets Forum */
.node .node_270 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/nuggets/forum_new-48.png");
}
.node .node_270 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/nuggets/forum_old-48.png");
}

/* warriors Forum */
.node .node_276 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/warriors/forum_new-48.png");
}
.node .node_276 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/warriors/forum_old-48.png");
}

/* mavericks Forum */
.node .node_268 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/mavericks/forum_new-48.png");
}
.node .node_268 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/mavericks/forum_old-48.png");
}
 

JMEWLS

Active member
#2
rest of the code:

Code:
/* wolves Forum */
.node .node_282 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/timberwolves/forum_new-48.png");
}
.node .node_282 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/timberwolves/forum_old-48.png");
}

/* clippers Forum */
.node .node_278 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/clippers/forum_new-48.png");
}
.node .node_278 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/clippers/forum_old-48.png");
}

/* rockets Forum */
.node .node_272 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/rockets/forum_new-48.png");
}
.node .node_272 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/rockets/forum_old-48.png");
}

/* thunder Forum */
.node .node_286 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/thunder/forum_new-48.png");
}
.node .node_286 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/thunder/forum_old-48.png");
}

/* lakers Forum */
.node .node_274 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/lakers/forum_new-48.png");
}
.node .node_274 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/lakers/forum_old-48.png");
}

/* grizzlies Forum */
.node .node_280 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/grizzlies/forum_new-48.png");
}
.node .node_280 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/grizzlies/forum_old-48.png");
}

/* blazers  Forum */
.node .node_288 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/blazers/forum_new-48.png");
}
.node .node_288 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/blazers/forum_old-48.png");
}

/* suns Forum */
.node .node_266 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/suns/forum_new-48.png");
}
.node .node_266 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/suns/forum_old-48.png");
}

/* pelicans Forum */
.node .node_284 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/pelicans/forum_new-48.png");
}
.node .node_284 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/pelicans/forum_old-48.png");
}

/* jazz Forum */
.node .node_294 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/jazz/forum_new-48.png");
}
.node .node_294 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/jazz/forum_old-48.png");
}

/* spurs Forum */
.node .node_292 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/spurs/forum_new-48.png");
}
.node .node_292 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/spurs/forum_old-48.png");
}

/* kings Forum */
.node .node_290 .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/kings/forum_new-48.png");
}
.node .node_290 .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo .unread .nodeIcon {
  background-image: url("styles/nbadv2/forumicons/kings/forum_old-48.png");
}

/* default Forum */
.node .forumNodeInfo .nodeIcon, .node  .categoryForumNodeInfo .nodeIcon {
  background-image: url("http://nbadimensions.net/forums/images/statusicon/forum_new-48.png");
}
.node .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo.unread .nodeIcon {
  background-image: url("http://nbadimensions.net/forums/images/statusicon/forum_old-48.png");
}
 

Brogan

XenForo moderator
Staff member
#3
You are using the sprite code background image placement.

Change it to 0:
Code:
.node .forumNodeInfo.unread .nodeIcon,
.node .categoryForumNodeInfo.unread .nodeIcon {
background-position: 0;
}