MyBB Community Forums

Full Version: Need help removing sidebar
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,


I have been trying to remove the sidebar from the index.php. But I do not know what to delete from there.

Also my theme supports sidebar show/hide feature and even If I do delete the sidebar, there is a huge space for the sidebar. Is there a way I can make it so people will be able to have no sidebar showing at all without having to show/hide sidebar?

I tried removing the sidebar but the space still exists there and the forums to the left won't stretch over to the empty space where the sidebars are.

Here is a screenshot of what I am talking about.

My forum url: http://forums.aokaizoku.com/index.php


[Image: NfUR9PQ.png]

Any help will be appreciated!
In template index (Index Templates) search and delete:
<div class="sidebar" style="float: right; width: 23%;" original-title="">

<script type="text/javascript">
jQuery(function(){
jQuery(".latestthreads").load("http://forums.aokaizoku.com/portal.php .latestthreads_portal");
jQuery(".lateststats").load("http://forums.aokaizoku.com/portal.php .lateststats"); 
}); </script>

<table border="0" cellspacing="0" cellpadding="8" class="tborder">
<tbody><tr>
<td class="thead">
<div class="expcolimage" original-title=""><img src="images/Business/collapse.gif" id="ths_img" class="expander" alt="[-]" original-title="[-]" style="cursor: pointer;"></div>

</td>
</tr>
</tbody></table>

</div>

and
<div class="forums" style="float: left; width: 75%;">
+ </div>. Smile
Thank you for your reply!

I have removed the codes above and it seems like my footer is now stretched after removing the codes.

What can I do to fix this?

[Image: zBRiuTI.png]

Thanks
(2014-06-27, 04:18 AM)Ao Kaizoku Wrote: [ -> ]I have removed the codes above and it seems like my footer is now stretched after removing the codes.

your div.prefooter should go inside div.ancho.....

edit the templates accordingly.... you might have to check the footer templates....