MyBB Community Forums

Full Version: Side Boxes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have just created a forum on our new website: www.teachexcellence.co.uk/forums

I have added a side box, which seems to take up 25% of the screen. I would like the side box to be a fixed size of 230 pixels

can someone please advise me how to do this please.
Admin CP --> Templates panel (click on Modify / Delete) --> Your Templates (I think you have Default) click on Expand --> Index Page Templates (click on Expand) --> index

After {$header} you must put all in a table like this:
<table width="100%"  border="0">
  <tr>
    <td width="*" valign="top">
        {$forums}
    </td>
    <td width="200px" valign="top">
        YOUR SIDE BOX        
    </td>
  </tr>
</table>

You can set any value for td width="200px".

It's simple ! Smile


LATER EDIT:
OK. In your site, just replace
    <td width="75%" valign="top"><!-- start: forumbit_depth1_cat -->
with
    <td width="*" valign="top"><!-- start: forumbit_depth1_cat -->

and
    <td width="25%" valign="top"><table border="0" cellspacing="1" cellpadding="4" class="tborder" width="230">
with
    <td width="230px" valign="top"><table border="0" cellspacing="1" cellpadding="4" class="tborder">
Hi
I would like to move sideboxes to the left side of my forum.
How can I do that ?
computerfix Wrote:Hi
I would like to move sideboxes to the left side of my forum.
How I can do that ?

Open your index template
Find
<table width="100%"  border="0">
  <tr>
    <td width="75%" valign="top">{$forums}</td>
    <td width="25%" valign="top">{$sb_welcome}{$sb_search}{$sb_stats}{$sb_latestthreads}{$sb_additional}</td>
  </tr>
</table>

Change into
<table width="100%"  border="0">
  <tr>
    <td width="25%" valign="top">{$sb_welcome}{$sb_search}{$sb_stats}{$sb_latestthreads}{$sb_additional}</td>
    <td width="75%" valign="top">{$forums}</td>
  </tr>
</table>
LeX- Wrote:
computerfix Wrote:Hi
I would like to move sideboxes to the left side of my forum.
How I can do that ?

Open your index template
Find
<table width="100%"  border="0">
  <tr>
    <td width="75%" valign="top">{$forums}</td>
    <td width="25%" valign="top">{$sb_welcome}{$sb_search}{$sb_stats}{$sb_latestthreads}{$sb_additional}</td>
  </tr>
</table>

Change into
<table width="100%"  border="0">
  <tr>
    <td width="25%" valign="top">{$sb_welcome}{$sb_search}{$sb_stats}{$sb_latestthreads}{$sb_additional}</td>
    <td width="75%" valign="top">{$forums}</td>
  </tr>
</table>