MyBB Community Forums

Full Version: Probleme with ForumBit after removing Sidebar
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello good people, I've a small problem since yesterday.
My theme has a sidebar, I removed it from the header template.

Now I've to set the width to 100% - Mozilla and Chrome Analyse shows me this line of code:

*between header and forumbit_depth1_cat
<div style="width: 74%;" class="forums float-left">
It doesn't exist - searched the whole templates, theres no value "74%" anywhere.

header template (with Sidebar, I removed it together with the <aside> tags):
Quote:    <div class="main-header-body">
        <div class="main-conteiner">
        <!-- LOGO:ConfusedTART -->
                <div class="logo float-left">
                    <h1><a href="index.php" title="">D1R7Y®</a></h1>
                </div>
        <!-- LOGO::END -->
                {$welcomeblock}
        </div>
    </div>
    <div class="main-header">
        <div class="main-conteiner">
            <!-- MENU:ConfusedTART -->
                <nav class="main-menu float-left ">
                    <ul>
                        <li class="line-right"><a href="{$mybb->settings['bburl']}/index.php" title="">Home</a></li>
                        <li class="line-right"><a href="{$mybb->settings['bburl']}/memberlist.php" title="">Members</a></li>
                        <li class="line-right"><a href="{$mybb->settings['bburl']}/showteam.php" title="">Team</a></li>
                        <li class="#line-right"><a href="#index.html" style="color:red" title="">Get Dirty Bomb!</a></li>                    
                    </ul>
                </nav>
                <nav class="main-menu float-right">
                    <ul>
                        <li class="line"><a href="">SPONSOR</a></li>
                    </ul>
                </nav>
            <!-- MENU::END -->    
        </div>
    </div>
    <navigation>
    <div class="main-conteiner">
        {$pm_notice}
        {$bannedwarning}
        {$bbclosedwarning}
        {$unreadreports}
        {$pending_joinrequests}
        <br />
        {$awaitingusers}

forumbit_depth1_cat:

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead_{$forum['fid']} thead" colspan="5">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div class="forum-icon_{$forum['fid']} forum-icon float-left"></div>
<div class="cat-link"><a href="{$forum_url}">{$forum['name']}</a></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td  colspan="2"></td>
<td  width="85" align="center" style="white-space: nowrap"></td>
<td  width="85" align="center" style="white-space: nowrap"></td>
<td width="200" align="center"></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br />

Thanks for help!
check if your forums width is set to 74% on your index templates.
if above suggestion doesn't help then post your forum url so that someone can check it
Mind posting CSS too?

<div style="width: 74%;" class="forums float-left">

Or post your forum URL like .m. said.
http://d1r7y.ga/ - thanks in advance to all!
did you check if you have on index templates your forums set to 74% width?
It should be in my global.css if i'm not wrong but theres nothing it looks like this, really messed up:
[Image: DrPziP1.png]
it's not on .css, go to templates & style-> templates -> yourtheme templates -> index templates -> index, then check if you have width: 74% on your forums or copy and place here your index templates, so we can take a look.
(2016-01-21, 07:52 PM)Blackbeard Wrote: [ -> ]it's not on .css, go to templates & style-> templates -> yourtheme templates -> index templates -> index, then check if you have width: 74% on your forums or copy and place here your index templates, so we can take a look.

I already checked everything, this code doesn't exist anywhere, but I ask myself which function could generate that line.

index:

<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 to change <div class="forums float-left">{$forums}</div> into just {$forums}.

if it doesn't work, it's probably something on global.css doing that.
Pages: 1 2