Hello All,
On the main index page where all the forums are they are styled using trow1, this class is also used in lots of other places i don't want to change.
Where is the main forum listing template stored so i can edit the trow1 to something else?
I have looked and looked but i can't see it.
Rich
admin panel --> templates --> your theme's templates --> forumbit templates -->forumbit_depth2_forum
Hello,
I went to that template and it contains the following code
<tr>
<td class="{$bgcolor}" align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>
<td class="{$bgcolor}" valign="top">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>
This code dosen't contain the elements trow1, when i go to the stylesheet and edit the value trow1 to a colour of my choice the forums on the index page change colour but so does alot of other things.
What i am trying to do is change the colour of the forums on the index page but assign them something new like trow1_index so that i can assign them a colour that wont affect the rest of the forum.
Attached is a picture of what i am trying to change the colour of.
[
attachment=25370]
Thanks
Rich
you can replace all class="{$bgcolor}" with class="mytrow {$bgcolor}" AND apply required style for .mytrow ..
Your a genius, no wonder i couldn't work it out.