Coloring Title Sticky Threads

guclusat

Tanınmış Üye
Süper Moderatör
vB Version: 4.0.3
Mod Version: 1.00

description:

With this modification you can make title of sticky threads in color font what you like

see pic in attachment

who to do that ?

in template THREADBIT find :

PHP:
<a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}">{vb:raw thread.threadtitle}</a>
replace it with :



PHP:
<a class="title<vb:if condition="$show['gotonewpost']"> threadtitle_unread</vb:if>" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}"><vb:if condition="$thread['sticky']"><font color="#FF0000">{vb:raw thread.threadtitle}</font><vb:else />{vb:raw thread.threadtitle}</vb:if></a>
Save

Demo : alra7ba.info

Note : if you wont other color then RED you can find in the code above

PHP:
<font color="#FF0000">
and change color to what you like

that is all

aha.jpg
 
Geri
Yukarı