Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 3 Years, 8 Months, 4 Weeks ago Probleme with ForumBit after removing Sidebar
#1
Solved: 3 Years, 8 Months, 4 Weeks ago
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!
Reply
#2
Solved: 3 Years, 8 Months, 4 Weeks ago
check if your forums width is set to 74% on your index templates.
Owner of ForumAnime.PT
Reply
#3
Solved: 3 Years, 8 Months, 4 Weeks ago
if above suggestion doesn't help then post your forum url so that someone can check it
Reply
#4
Solved: 3 Years, 8 Months, 4 Weeks ago
Mind posting CSS too?

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

Or post your forum URL like .m. said.
(:
Reply
#5
Solved: 3 Years, 8 Months, 4 Weeks ago
http://d1r7y.ga/ - thanks in advance to all!
Reply
#6
Solved: 3 Years, 8 Months, 4 Weeks ago
did you check if you have on index templates your forums set to 74% width?
Owner of ForumAnime.PT
Reply
#7
Solved: 3 Years, 8 Months, 4 Weeks ago
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]
Reply
#8
Solved: 3 Years, 8 Months, 4 Weeks ago
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.
Owner of ForumAnime.PT
Reply
#9
Solved: 3 Years, 8 Months, 4 Weeks ago
(01-21-2016, 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>
Reply
#10
Solved: 3 Years, 8 Months, 4 Weeks ago
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.
Owner of ForumAnime.PT
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)