Graphic Making a theme but.....

DarkGizmo

Well-known member
How do i do the forum icon bits? You know the images that show when a new post is in the forum or not? I can't seem to find the images for these bits....
 
How do i do the forum icon bits? You know the images that show when a new post is in the forum or not? I can't seem to find the images for these bits....


It's setup as a sprite:

node-sprite.png


located: styles/default/xenforo/node-sprite.png


You can make manual adjustments in the Style Properties - > Node Icons
 
Ah I see. How would I go about using a different image instead of that and then changing the opacity of the image to determine if a forum has unread posts or not?
 
You can either just tone down the opacity in the image, or do some CSS to accomplish the same thing.

CSS to tone down the opacity on all node icons to 60%:

Code:
.node .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
opacity: .6;
}

CSS to overwrite the unread ones to show at 100%:

Code:
.node .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo.unread .nodeIcon  {
opacity: 1;
}
 
Top Bottom