MyBB Community Forums
trow1 help - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Themes (https://community.mybb.com/forum-103.html)
+---- Forum: Theme Support (https://community.mybb.com/forum-10.html)
+---- Thread: trow1 help (/thread-112203.html)



trow1 help - richardmhowell - 2012-01-23

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


RE: trow1 help - ranjani - 2012-01-24

admin panel --> templates --> your theme's templates --> forumbit templates -->forumbit_depth2_forum


RE: trow1 help - richardmhowell - 2012-01-24

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.

   

Thanks
Rich


RE: trow1 help - ranjani - 2012-01-24

you can replace all class="{$bgcolor}" with class="mytrow {$bgcolor}" AND apply required style for .mytrow ..


RE: trow1 help - richardmhowell - 2012-01-24

Your a genius, no wonder i couldn't work it out.