Diffrent background color for stickies

domon

New Member
ACP -> Styles & Templates -> Style Manager -> Edit Templates -> Threadbit

Find:
Code:
<td class="alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">

Replace with:
Code:
<!-- Sticky Color -->
<if condition="$thread['sticky'] == 1">
<td class="stickybg" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">
<else />
<td class="alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">
</if>
<!-- /Sticky Color -->

Then create the CSS class:

ACP -> Styles & Templates -> Style Manager -> Style Name -> Main CSS -> Additional CSS Definitions

Add the following:
Code:
.stickybg
{
	background-color: #333333;
}
Change the red code to your new color.


there it is enjoy
 
Thanks this works fine. However when i select the thread via inlinemod it does not get colored. For some reason the new backgroud doesnt change.
I try using background: #color insted of background-color but nothing change.
 
Back
Top