http://xenforo.com/community/threads/custom-forum-node-icons-sprites.32576/#post-372121
The first half of the code is for read icon and the other half is for the unread icon. Create two versions of the icons (For instance one dimmed and one normal).
Ah sorry, missed that. Not sure how you archived that, so I hope someone will chime in.From what I can see that looks like the node icons, I already have those. It's the 'NEW POSTS' bit that I'm trying to re-add, which only shows up if there are posts within the node which haven't been read yet.

Well you can do this but you will need to use a custom class as well as the css...
it will also have to address a few things...
like your sections that have really long titles...you would need a way for a user per page load to be able to dismiss that image laid out on top as there is no way to always put it between due to size constraints.
I did this live on your page with firebug real quick ...I didn't add an image because that is just secondary to the issue and I could just as easily removed the background color and used an image. We are looking for position first then beauty.
View attachment 44123
The real issue is a consistent placement regardless of the title length. If you do manage to accomplish this with css only you will run into problems in the long run.
I see you said you have things sorted out almost so if you can manage by yourself good for you but if you want some help let me know.
I still think lowering the opacity or greyscaling the node icons for unread postings will be the better method. Saves on placement problems and saves on the edits. Simplicity is key here and definitely at your disposal.
.forumNodeInfo.unread, .categoryForumNodeInfo.unread {
background-image: url(http://vondroid.com/site-img/unread.png) !important;
}

.node .forumNodeInfo .nodeIcon, .node .categoryForumNodeInfo .nodeIcon {
zoom: 1 !important;
opacity: 0.5 !important;
-moz-opacity: 0.5 !important;
-khtml-opacity: 0.5 !important;
filter:alpha(opacity=50) !important;
}
.node .forumNodeInfo.unread .nodeIcon, .node .categoryForumNodeInfo.unread .nodeIcon {
zoom: 1 !important;
opacity: 1.0 !important;
-moz-opacity: 1.0 !important;
-khtml-opacity: 1.0 !important;
filter:alpha(opacity=100) !important;
}
This is the code I was previously using... and it works to a point.
Code:.forumNodeInfo.unread, .categoryForumNodeInfo.unread { background-image: url(http://vondroid.com/site-img/unread.png) !important; }
However background positioning doesn't appear to work so it repeats the image used. If I try and add positioning of any sort then it disappears without trace, I assume under another div, here's a screenshot:
View attachment 44143
background-repeat: no-repeat; would have stopped that repeating btw.
We use essential cookies to make this site work, and optional cookies to enhance your experience.