Naprawa opisu działów

Błąd   Założony przez  DawidG.

Cześć,
kiedy dodaje sidebara po "swojemu" to mi się psują opisy działów: http://prntscr.com/cskm2f W jaki sposób to naprawić?

Bardzo dziękuję za pomoc :)
Opisy działów zepsuły się po tym jak dodałeś sidebara, czy wcześniej?
Jeżeli po tym jak dodałeś sidebara to podaj kod szablonu index.
(11.10.2016, 23:06)Winchester napisał(a): Opisy działów zepsuły się po tym jak dodałeś sidebara, czy wcześniej?
Jeżeli po tym jak dodałeś sidebara to podaj kod szablonu index.
Po dodaniu sidebara

<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}

<div class="sidebar" style="float: right; width: 19%">
{$topStats['LastThreads']}
{$topStats['LastActiveThreads']}
{$topStats['Reputation']}
</div>
<div class="forum" style="float: left; width: 80%;">{$forums}</div>
<br class="clear"/>
{$boardstats}

<dl class="forum_legend smalltext">
    <dt><span class="forum_status forum_on" title="{$lang->new_posts}"></span></dt>
    <dd>{$lang->new_posts}</dd>

    <dt><span class="forum_status forum_off" title="{$lang->no_new_posts}"></span></dt>
    <dd>{$lang->no_new_posts}</dd>

    <dt><span class="forum_status forum_offlock" title="{$lang->forum_locked}"></span></dt>
    <dd>{$lang->forum_locked}</dd>

    <dt><span class="forum_status forum_offlink" title="{$lang->forum_redirect}"></span></dt>
    <dd>{$lang->forum_redirect}</dd>
</dl>
<br class="clear" />
{$footer}
</body>
</html>
Spróbuj zrobić coś takiego.

HTML:
<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}
{$dvz_shoutbox}
<div class="pb-lewo">
            {$forums}
            {$boardstats}
</div>

<div class="pb-prawo">
{$topStats['LastThreads']}
{$topStats['LastActiveThreads']}
</div>
{$footer}
</body>
</html>

CSS:
.pb-lewo {
float: left;
width: 77%;
}

.pb-prawo {
float: right;
width: 22%;
}
(11.10.2016, 23:14)Winchester napisał(a): Spróbuj zrobić coś takiego.

Niestety: http://prntscr.com/cspc9y
Hmm, czyli to nie jest spowodowane sidebarem.
Podaj forumbit_depth2_forum.
(11.10.2016, 23:24)Winchester napisał(a): Hmm, czyli to nie jest spowodowane sidebarem.
Podaj forumbit_depth2_forum.
<tr>
<td class="{$bgcolor}" align="center" width="1"><span class="forum_status forum_{$lightbulb['folder']} ajax_mark_read" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}"></span></td>
<td class="{$bgcolor}" algin="center" >
<strong><a href="{$forum_url}">{$forum['icon']}{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
    </td>
<td class="{$bgcolor}" align="center" style="white-space: no-wrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" align="center" style="white-space: no-wrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" align="left" style="white-space: no-wrap">{$lastpost}</td>
</tr>
<tr>
<td class="{$bgcolor}" align="center" width="1"><span class="forum_status forum_{$lightbulb['folder']} ajax_mark_read" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}"></span></td>
<td class="{$bgcolor}" algin="center" style="margin-left: 10px" >
<strong><a href="{$forum_url}">{$forum['icon']}{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext"><div style="margin: 0px 40px">{$forum['description']}</div>{$modlist}{$subforums}</div>
    </td>
<td class="{$bgcolor}" align="center" style="white-space: no-wrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" align="center" style="white-space: no-wrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" align="left" style="white-space: no-wrap">{$lastpost}</td>
</tr>
Działa, bardzo dziękuję :D
Do zamknięcia.



Użytkownicy przeglądający ten wątek:

1 gości