MyBB Community Forums

Full Version: How can i get rid of this sidebar?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello.

Recently i installed this theme: http://mods.mybb.com/view/blaze-red
on my forum, it looks perfectly fine, but i was wondering how i can get rid of the sidebar. I know people can collapse it, but is there a way to completely get rid of it?

Thanks in advance, and you can see the skin in action at my site http://www.zamorak.net
You can remove it by going to your ACP > Templates & Style > Templates > Blaze Red and editing your index page template. Just remove the <div> for the side bar and the forum should stretch itself back to normal.
@ Dayum, Anti-malware is blocking my visit to your forums !!
Post your index template here and let me remove it for you.
hey guys thanks for the help, i tried to delete the sidebar part but then none of my categories in my forum would show up.

here is the index template

<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>

</head>
<body>
{$header}
<!--Sidebar Code-->

<a class="buttons" style="float: right;"></a>
<a class="clickedbuttons" style="float: right;"></a>
<br class="clear" />
<div class="sidebar" style="float: right;width: 19%;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>
Latest News
</strong></td>
</tr>
<tr>
<td class="trow1">
You can put some news stuff here
</td>
</tr>

<tr>
<td class="thead"><strong>
Advertisement Box
</strong></td>
</tr>
<tr>
<td class="trow1">
<img src="images/blazered/advert.png" />
</td>
</tr>
<tr>
<td class="thead"><strong>
Custom Block
</strong></td>
</tr>
<tr>
<td class="trow1">
Put what you wat right here
</td>
</tr>
</table>
</div>
<div class="forums" style="float: left;width: 80%;">
{$forums}
</div>

<br class="clear" />

<!--End Of Sidebar Code-->
{$boardstats}

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="6">
<div><strong>Forum Icon Legend</strong></div>
</td>
</tr>
<td class="trow1" align="center" valign="middle"><img src="{$theme['imgdir']}/on.png" alt="{$lang->new_posts}" title="{$lang->new_posts}"/></td>

<td class="trow1" align="center" valign="middle"> <span class="smalltext">{$lang->new_posts}</span></td>

<td class="trow1" align="center" valign="middle"><img src="{$theme['imgdir']}/off.png" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}"/></td>

<td class="trow1" align="center" valign="middle"><span class="smalltext">{$lang->no_new_posts}</span></td>

<td class="trow1" align="center" valign="middle"><img src="{$theme['imgdir']}/offlock.png" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" /></td>

<td class="trow1" align="center" valign="middle"><span class="smalltext">{$lang->forum_locked}</span></td>

</tr>
</table>
<br style="clear: both" />
{$footer}
</body>
</html>
sorry for the double post, but what i tried to do is just delete this:

<!--Sidebar Code-->

<a class="buttons" style="float: right;"></a>
<a class="clickedbuttons" style="float: right;"></a>
<br class="clear" />
<div class="sidebar" style="float: right;width: 19%;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>
Latest News
</strong></td>
</tr>
<tr>
<td class="trow1">
You can put some news stuff here
</td>
</tr>

<tr>
<td class="thead"><strong>
Advertisement Box
</strong></td>
</tr>
<tr>
<td class="trow1">
<img src="images/blazered/advert.png" />
</td>
</tr>
<tr>
<td class="thead"><strong>
Custom Block
</strong></td>
</tr>
<tr>
<td class="trow1">
Put what you wat right here
</td>
</tr>
</table>
</div>
<div class="forums" style="float: left;width: 80%;">
{$forums}
</div>

<br class="clear" />

<!--End Of Sidebar Code-->

and then it made my forums not show up, the only part that showed up was the board statistics
replace
<!--Sidebar Code-->

<a class="buttons" style="float: right;"></a>
<a class="clickedbuttons" style="float: right;"></a>
<br class="clear" />
<div class="sidebar" style="float: right;width: 19%;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>
Latest News
</strong></td>
</tr>
<tr>
<td class="trow1">
You can put some news stuff here
</td>
</tr>

<tr>
<td class="thead"><strong>
Advertisement Box
</strong></td>
</tr>
<tr>
<td class="trow1">
<img src="images/blazered/advert.png" />
</td>
</tr>
<tr>
<td class="thead"><strong>
Custom Block
</strong></td>
</tr>
<tr>
<td class="trow1">
Put what you wat right here
</td>
</tr>
</table>
</div>
<div class="forums" style="float: left;width: 80%;">
{$forums}
</div>

<br class="clear" />

<!--End Of Sidebar Code-->

with

<div class="forums" style="float: left;width: 100%;">
{$forums}
</div>

<br class="clear" />