MyBB Community Forums

Full Version: Theme edit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to edit my theme, so I can have it as follows.

Statistics
---------------------
| Threads: 10 |
| Posts: 50 |
---------------------

I figured out how to do that above, but I want a background and border around it INSIDE the forumbit too. I can't figure out a way to do this, as I only want the background/border to go around the threads/posts part not the whole forumbit box.
Ideas from the theme I posted? Wink
I've seen it before that, but yes, it inspired me.
You've to edit it in forumbit_depth2_forum template. Just wrap the {$threads}{$posts} variables in a div tag and define its class in global.css. Something like this;
Find the following in above mentioned template;
<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>
and Change it into;
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">
<div class="threads_posts_style">{$threads}{$unapproved['unapproved_threads']}
{$posts}{$unapproved['unapproved_posts']}</div></td>
Now define its class "threads_posts_style" in global.css

You've to edit "forumbit_depth1_cat" template as well, since you're removing a column from other template.
I ended up figuring it out. You can view it live @ http://srplugins.com/ -- let me know what you think.
Try fixing the tables. they are out of the container at the end.
What are you talking about? Can you provide me a screenshot?
Sorry I was using my netbook = tiny screen res. If i zoomed out it looked fine.