Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: trenchteam - huhtikuu 15, 2006, 02:47:51 AP

Otsikko: CSS for Child Board TEXT.
Kirjoitti: trenchteam - huhtikuu 15, 2006, 02:47:51 AP
I kept looking for the Child Board text CSS file to change the Child Board text colors. I cant find them anywhere. I searched the site to no avail. Can someone tell me what file and what needs to be changed to adjust the colors for the Child Board Text in the boardindex.template   THANKS!!! ;D ;D ;D
Otsikko: Re: CSS for Child Board TEXT.
Kirjoitti: bloc - huhtikuu 15, 2006, 03:59:57 AP
The childs do not have a separate css..it just use the .windowbg class + .smalltext to set the size. You need to set a separate class, for example .smalltextchild on it, and define it in style.css. The spot in BoardIndex.template.php:

echo '
<tr>
<td colspan="3" class="windowbg', !empty($settings['seperate_sticky_lock']) ? '3' : '', '">
<span class="smalltext"><b>', $txt['parent_boards'], '</b>: ', implode(', ', $children), '</span>
</td>
</tr>';
}
Otsikko: Re: CSS for Child Board TEXT.
Kirjoitti: trenchteam - huhtikuu 15, 2006, 04:32:26 AP
Thanks Bloc. Worked Great! ;D