News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Change the color of Active Child Boards?

Started by Saint_3k, June 08, 2005, 01:24:11 PM

Previous topic - Next topic

Saint_3k

I want to change the color of the active child boards displayed on the main page of my forum, so that they stand out from the inactive ones better.

Does anyone know the code I need to change to be able to do that? I looked through Boardindex.php and found a couple of lines that might be the ones I'm looking to change, but I was unable to produce the desired effect.

I'm running SMF 1.0.4

Here is a demonstration of what I want it to do (Photoshoped)


CapriSkye


Harro


Burpee

Open: BoardIndex.template.php
Find: $children[] = $child['new'] ? '<b>' . $child['link'] . '</b>' : $child['link'];
Replace with: $children[] = $child['new'] ? '<span style="color: #FF0000;">' . $child['link'] . '</span>' : $child['link'];

(I think)

Advertisement: