MyBB Community Forums

Full Version: Main forum does not stretch to 100% after sidebar removed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am currently using blackplayers 1.0.3 theme, and there is latest news sidebar, how do I add news to it or how do I remove it? Thanks a lot for help!

[Image: latest-news.png]
Templates > Your theme > Index Page Templates > Index
I removed it, but the main forum does not stretch to 100% and the sidebar space is still there. Here is the index templates code


<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}
<br class="clear" />
<div class="forums float-left">{$forums}</div>
<br class="clear" />
{$boardstats}
<br style="clear: both" />
{$footer}
</body>
</html>
Try removing code float-left in div class forums
<div class="forums">{$forums}</div>
 
like this? I tried it but it does not work
(2019-07-06, 05:24 PM)lukericherman Wrote: [ -> ]
<div class="forums">{$forums}</div>
 
like this? I tried it but it does not work

Remove whole div and keep only {$forums}

Test that
Thank you!!