[req] 3.7.x Sticky background color change

GgAcE

New Member
Sticky background color change - vBulletin.org Forum

vbo_37sticky.png


Thank you in advance
 
Simple template mod, updated from my 3.5.x mod.

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


Find:


Code:

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:

Code:
.stickybg
{
	background-color: #333333;
}

Change the red code to your new color.
 
Back
Top