View Full Version : read thread color
Hawk7173
06-14-2012, 10:43 PM
Is there a setting that allows read thread colors to be changed so that a member sees right away that they have already read that thread?
Simon Lloyd
06-14-2012, 11:09 PM
Thats difficult because in your session unread threads appear in bold and when read are unbolded, however when you finish your session all threads are marked read or unbolded.
Hawk7173
06-15-2012, 01:01 AM
I was on another vBulletin forum that once a thread was read, the title changed colors, so there must be something here that allows that to happen. I just can't seeem to find it via the search function here.
I haven't tried it, but in the template threadbit.css threadlist.css (Under the CSS Templates group) is this:
.threadbit .threadtitle_unread {
font-weight: bold;
}
so maybe if you added a color there it might do what you want.
Hawk7173
06-15-2012, 01:29 AM
hmmmmmm I don't seem to have a threadbit.css template in CSS templates
My mistake - it's threadlist.css. But it's just as well because I think what you really want to do it edit additional.css, paste that in there, and change it to what you want (and it will override the code in threadbit.css).
I also realized that (assuming it works) this will change the look of unread threads which is the oppposite of what you described. But I think you can look in threadlist.css and find how the color is set you can work it out. (Or maybe someone else will know - or I can try to figure it out tomorrow).
Hawk7173
06-15-2012, 02:42 AM
I'll take a crack at it.... I'll copy the template in case something screwy goes on before I change anything...LOL
Thanks for the help.
--------------- Added 1339734309 at 1339734309 ---------------
tried adding color to that piece and nothing changed.....oh well
cellarius
06-15-2012, 05:17 AM
To change the color you need to use
.threadbit .threadtitle_unread a {
color: #123456;
}
(The threadtitles are links, and the link color is used unless overridden)
Hawk7173
06-15-2012, 02:41 PM
Thank you.
What would I use for read threads?
Try .threadbit .threadtitle a { ...
Hawk7173
06-15-2012, 03:11 PM
adding that code to the additional CSS template did not change anything.
Yeah, I only know basic CSS so I usually don't fool around with that stuff, but I tested this and it seems to work:
.threadbit .threadtitle a:link {
color: #FF0000; // red for unread threads
}
.threadbit .threadtitle a:visited {
color: #00FF00; // green for read threads
}
Hawk7173
06-15-2012, 03:27 PM
I managed to get unread posts to change by adding color: #660000; to the code below in threadlist.css
.threadbit .threadtitle_unread {
font-weight: bold; color: #660000;
}
--------------- Added 1339777747 at 1339777747 ---------------
once a thread has been viewed, it reverts back to the default color. However, if a reply is made to the thread, it does not go back to unread. Should it?
once a thread has been viewed, it reverts back to the default color. However, if a reply is made to the thread, it does not go back to unread. Should it?
Are you talking about the code I posted above? Hmm...yeah, it probably doesn't do what you want. I think that changes color based on whether or not the browser thinks you've visited the link before. So I guess you want to use .threadbit .threadtitle_unread { .. and .threadbit .threadtitle { ...
I think I'll leave it to cellarius or someone else that knows.
Edit: well, I did play around with it more and this seems to work (although I don't understand why):
.threadbit .threadtitle .threadtitle_unread {
color: #FF0000;
}
.threadbit .threadtitle a {
color: #00FF00;
}
Hawk7173
06-15-2012, 03:43 PM
I used an adaption to the first code you gave me.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.