View Full Version : Sticky background color
agiacosa
03-04-2005, 04:11 PM
Is there any way to change the background color of stickies when viewing the list of threads so that they stand out more?
Thanks.
why-not
03-04-2005, 05:43 PM
Hi
If you just want to do it via the templates, then open 'threadbit' and add a <if condition=??> to each of the <td> that contain class => alt1 or alt2! Then go to common tempates and create a custom CSS tag that will be used when a thread row is a sticky thread!
example......
<td class="<if condition="$show['sticky']">sticky<else />alt1</if>">
Style Manager >> All Style Options >> Additional CSS Definitions
.sticky
{
background-color: #000000;
color: #ffffff;
}
You can also add it as an vB Option => 'Forum Listings Display Options', which would allow you to change the color in the admin panel!
This would need you to edit the template 'threadbit', and then do 1 admin script edit and 2 includes/function_??.php script edits and add 3 admin panel phrases! If you want to do it this way, just tell and I will show you exactly what you need to change or add!
Sonia
agiacosa
03-04-2005, 08:36 PM
Thank you. Excellent. It worked.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.