Zmiana wyglądu belek i ..

Inne  Założony przez  DraGon89.

wersja skryptu MyBB:
adres forum:
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):

Cześć jak zmienić wygląd belek?

I jeszcze mam takie pytanie pod każdą belką mam taki czarny pasek i tam pisze po lewej stronie dział a po prawej ostatni post jak ten cały czarny pasek usunąć ?
Jeden temat = Jeden problem.
Nie jesteśmy wszechwiedzący... Jaki czarny pasek i jakie dokładnie belki ?
Na początek wykonaj screen i zamieść go w poście.
DraGon89 napisał(a):adres forum:
Jeśli to jest w szablonie wątku to znaczy że jest wymagane!

Wygląd belek zmienisz w global.css (ACP -> Style i Szablony -> Twój_Styl -> global.css -> tryb zaawansowany).

A co do tej czarnej linii to skąd mamy wiedzieć jak jej nie widzimy?? Kryształowa kula w naprawie..
Chodzi o ten czarny pasek pod belką: (chcę go usunąć)
[Obrazek: J80ErEG.png]

A co do zmiany wyglądu belki to co w tym trybie zaawansowanym trzeba zrobić ?
Pokaż forumbit_depth1_cat (ACP -> Style i Szablony -> Szablony -> Twój_Szablon -> Opis działu).

Mówiłeś że chcesz zmienić kolor belki, czyli zmieniasz kolor w atrybucie background: ...; znajdującego sięw klasie .thead

Ps. Podaj adres forum bo nie jestem pewien. :/
depth1_cat
forum gramtu.xaa.pl
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="5">
<div id="theadglow">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><strong><a href="{$forum_url}">{$forum['name']}</a></strong><span class="smalltext">{$forum['description']}</span></div>
</div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" colspan="4"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="200"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br />

Ogólnie chcę aby belka wyglądała jak na tym forum:
http://forum.dwap.pl/index.php

taka lekko szara a na dole taki niebieski pasek :)
forumbit_depth1_cat:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="5">
<div id="theadglow">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><strong><a href="{$forum_url}">{$forum['name']}</a></strong><span class="smalltext">{$forum['description']}</span></div>
</div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td style="padding:0" colspan="4"/>
<td style="padding:0" width="200"/>
</tr>
{$sub_forums}
</tbody>
</table>
<br />

Klasa .thead (zamieniasz aktualną na tą co podam w global.css -> tryb zaawansowany):
.thead {
    background: #e5e5e5 url(../../../images/audentio/citrus/thead.png) top left repeat-x;
    color: #ffffff;
    height: 40px;
    line-height: 40px;
    padding: 0px;
    padding-left: 20px;
    padding-right: 20px;
    font-family: 'DroidSansRegular', "Segoe UI", Segoe, Tahoma, Geneva, sans-serif;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
    -moz-box-shadow: inset 0 -1px rgba(255,255,255,0.5);
    -webkit-box-shadow: inset 0 -1px rgba(255,255,255,0.5);        
    box-shadow: inset 0 -1px rgba(255,255,255,0.5);
    border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
}

I oczywiście musisz to wgrać: http://forum.dwap.pl/images/dwap/thead.png do images/audiento/citrus pod nazwą thead.png

Dodatkowo pokaz mi jeszcze header i headerinclude jeśli chcesz żeby cały czas taki thead był (żeby nie zmieniali koloru).
na razie ten czarny pasek zostawiłem.
Dorobiłem do tej grafiki niebieski pasek lecz nie widać go w belce tylko w headerze, i w headerze jest jeszcze kawałem pomarańczowego.

header
<div id="head">
    <div id="usercontrol">
        <div class="width">
            {$welcomeblock}        
        </div>
    </div>
    <div class="thead" id="logorow">
        <div class="width">
            <div id="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
        <div class="menu">
            <ul>
            <li><a href="{$mybb->settings['bburl']}/index.php">Forum</a></li>
<li><a href="http://sklepgramtu.xaa.pl/?strona=startowa">Sklep</a></li>
            <li><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li>
            <li><a href="{$mybb->settings['bburl']}/calendar.php">{$lang->toplinks_calendar}</a></li>
            <li><a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li>
            <li><a href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a></li>
        </ul>
        </div>
        </div>
    </div>
    <navigation>
</div>
    <div class="width">
        <a name="top" id="top"></a>
        <hr class="hidden" />
                <br class="clear" />
        <div id="content">
            {$pm_notice}
            {$bannedwarning}
            {$bbclosedwarning}
            {$unreadreports}
            {$pending_joinrequests}

<link rel=”shortcut icon” href=”favicon.ico” type=”image/x-icon” />

a header include nie mam czegoś takiego.



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

1 gości