Ułożenie działów

Inne  Założony przez  WaXuPL.

wersja skryptu MyBB: 1.8.4
adres forum: KLIK
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): Ułożenie działów



To tak, zacząłem edycje stylu, i dział mam obok działu, i jak zrobić żeby był jeden pod drugim, ktoś coś pomoże?

[Obrazek: sm3itg.png]
Podaj zawartość szablonu "forumbit_depth2_forum" oraz "forumbit_depth1_cat".
forumbit_depth2_forum



<template name="forumbit_depth2_forum" version="1803"><![CDATA[<li>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}">
<tr>
<td align="center" valign="middle" width="5px" rowspan="2"><span class="{$lightbulb['folder']}" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}" /></span></td>
<td><strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<br />
<div class="smalltext"><i class="fa fa-file-text-o" original-title=""></i> Tematów: {$threads}{$unapproved['unapproved_threads']} &nbsp; <i class="fa fa-files-o" original-title=""></i> Postów: {$posts}{$unapproved['unapproved_posts']}</div>
<div style="margin-left: -10px;" valign="middle">{$subforums}  </div></td>
<td width="36%">{$lastpost}</td>
</tr>
</table>
</li>]]></template>


forumbit_depth1_cat


<template name="forumbit_depth1_cat" version="1803"><![CDATA[<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="forumh tborder">
<thead>
<tr>
<td class="thead{$expthead}" colspan="5">
<h3><div valign="top" class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div></h3>
<div><strong><a href="{$forum_url}" style="background: #111 url(images/duende2/topic_button.png)  repeat-x top;  border: 1px solid #212121;  border-width: 1px 1px 0 1px;  -moz-border-radius: 3px;  -webkit-border-radius: 3px;  border-radius: 3px;  background: -moz-linear-gradient(top, #111 0%, #111 100%);  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#111111), color-stop(100%,111));  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) inset, 0 0 0 1px rgba(255, 255, 255, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) inset, 0 0 0 1px rgba(255, 255, 255, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) inset, 0 0 0 1px rgba(255, 255, 255, 0.02), 0 1px 0 rgba(255, 255, 255, 0.1);  -moz-border-radius: 3px;  -webkit-border-radius: 3px;  border-radius: 3px;        white-space: nowrap;  -webkit-transition: all 0.2s ease-in-out;  -moz-transition: all 0.2s ease-in-out;  color: #fff;  text-shadow: 0 -1px 0 #191919;  font: 300 12px/1.3 Helvetica, Arial, sans-serif;  line-height: 30px;  height: 30px;  padding: 0 10px;  text-align: center;  min-width: 125px;  display: inline-block;  cursor: pointer;                ">{$forum['name']} </a></strong></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td>
<ul>{$sub_forums}</ul>
</td>
</tr>
</tbody>
</table>
<br />]]></template>
Szogi1910 napisał 06.11.2015, 09:37:
Kody html/css/php dodajemy w tagach [code]lub[php]
ACP>Style i Szablony>Twój styl>forum.css (linia chyba 38) znajdź:
table.forumh ul li {
    list-
stylenone;
    
width50%;
    
margin-bottom10px;
    
floatleft;

i zamień na:
table.forumh ul li {
    list-
stylenone;
    
width100%;
    
margin-bottom10px;
    
floatleft;

Pomogłem i chcesz mi przyznać Punkt Reputacji? Proszę opisz w komentarzu za co go otrzymuję :) Dziękuje!  
Wieeeelkie dzięki :>

+ ode mnie za pomoc



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

1 gości