MyBB Community Forums

Full Version: Reset the thread link color when a new post is made in a visited thread?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So, I have this on my global.css:

a:link {
	color: #C80000 ;
	text-decoration: bold;
}

a:visited {
	color: #909090 ;
	text-decoration: none;

Which uses the exact color scheme I want. The problem is my posters have trouble differentiating between visited threads with no new posts and visited threads with new posts. The only difference is that the ones with new posts have the thread title bolded, but the link color stays the same. Is there a way to reset a visited thread to use the a:link scheme whenever a new post is made in the thread?

Sorry if this is a simple question. And thanks for the help in advance.
I could understand the problem .
Find this code in your global.css :

.subject_new {
font-weight:bold;
}

below it add this code:

.subject_new:link {
color: #111;
}

You can change color to your likes , now the new unread threads would have a different color assigned.

Hope this helps, Smile
regards
Just want to say thanks for this.

Wanted thread titles to be bold when unread in a custom theme, and the code above worked perfect

Thanks envira