PDA

View Full Version : Changing Colors of New Posts need advice


Goat Boy
12-09-2006, 03:13 AM
In the threadbit template I found this code

<a href="showthread.php?$session[sessionurl]t=$thread[threadid]
$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition=
"$show['gotonewpost']"> style="font-weight:bold"</if>>$thread[threadtitle]</a>

I believe this is the area I can change the color of new posts that are bold right? If this is correct where do I add the code to change the color. Either it changes the colors of all the posts new and old or it doesn't change anything. So obviously I am not doing it right.

Thanks

CyberAlien
12-11-2006, 01:00 PM
change that condition to this: <if condition=
"$show['gotonewpost']"> class="post-new"</if>

ad then in extra css add something like this:a.post-new, a.post-new:visited { color: red; }
a.post-new:hover, a.post-new:active { color: white; }

Goat Boy
12-11-2006, 01:49 PM
Thanks for your help

This is what I changed it to so that it worked

<a href="showthread.php?$session[sessionurl]t=$thread[threadid]
$thread[highlight]" id="thread_title_$thread[realthreadid]"
<if condition="$show['gotonewpost']"> class="post-new" style="font-weight:bold"
</if>>$thread[threadtitle]</a>

Future reference for anyone reading this thread.