Background colors

Started by SkyWarp, March 16, 2004, 09:58:42 PM

Previous topic - Next topic

SkyWarp

I am having some trouble trying to figure out how to change the background colors of the main page and secondary pages between different windows (windowbg and windowbg2)  BUT at the same time NOT changing the color of the posts windows.  I want a solid color on the front page and topic pages, but the actually colors for the the messages I want to alternate! 

When I try to change one I end up changing both!   :(  How do I do this without changing both? 

Owdy

#1
You have to make new classess in style.css and change them also in display.template.php . Like windowbg3 and 4. Find in display.template.php this

<td class="', $message['alternate'] == 0 ? 'windowbg' : 'windowbg2', '">';

and change to this

<td class="', $message['alternate'] == 0 ? 'windowbg3' : 'windowbg4', '">';

Havent tested, but should work.

Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Advertisement: