Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

Change Color in Css But where

Aloittaja RebelRose, lokakuu 06, 2006, 01:24:58 IP

« edellinen - seuraava »

RebelRose

I want to change the color of the part of the forum that says:

New Post    No New Post

I can't seem to find it, can someone tell me please!!

jacortina

I believe you need to look in BoardIndex.template.php. In default theme for 1.1RC3, you have the lines:


<td align="', !$context['right_to_left'] ? 'left' : 'right', '" class="smalltext">
<img src="' . $settings['images_url'] . '/new_some.gif" alt="" align="middle" /> ', $txt[333], '
<img src="' . $settings['images_url'] . '/new_none.gif" alt="" align="middle" style="margin-left: 4ex;" /> ', $txt[334], '
</td>


So you can see that it's in a 'td' with 'class="smalltext"' (see the themes styles.css).

You might consider adding a new style class (smallredtext or smallgreentext, for example) to use to change it here so you don't 'break' anything by changing that style.

RebelRose


Advertisement: