Osobna clasa dla menu

Założony przez  SaiL.

wersja skryptu MyBB: 1.6.9
adres forum: http://testyy.p.ht/
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): Witam zrobiłem menu tu kod:
<ul id="menutxt">
                <ul>
                    <li><a href="http://testyy.p.ht"><strong>Forum</a></strong></li>
                    <li><a href="{$mybb->settings['bburl']}/memberlist.php"><strong>{$lang->toplinks_memberlist}</strong></a></li>
                    <li><a href="{$mybb->settings['bburl']}/calendar.php"><strong>Kalendarz</a></strong></li>
                    <li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><strong>{$lang->toplinks_help}</strong></a></li>
                    <li><a href="{$mybb->settings['bburl']}/search.php"><strong>Szukaj</strong></a></li>
                </ul>

CSS:
#menutxt {
    background: url(images/Black&Blue/belka.png) top left repeat;
    text-align: left;
        font-size: 15px;
    height: 30px;
        margin-top: 0px;
        display: block;
        padding: 22px 15px 8px;
        text-shadow: 0px 1px 1px rgba(0,0,0,0.5);
}

#menutxt li {
        display: inline-block;
        margin-right:10px;
}
    
.menutxt a:link {
    color: #ffffff;
    text-decoration: none;
}

.menutxt a:visited {
    color: #ffffff;
    text-decoration: none;
}

.menutxt a:hover, .menutxt a:active {
    color: #ffffff;
    text-decoration: none;
}

Chodzi mi o to żeby menu korzystało z tego css który podałem do wyświetlania linków a nie z tego standardowego który jest w css, chyba dobrze to opisałem :p
Spróbuj tak:
<div id="menutxt">
                 <ul>
                     <li><a href="{$mybb->settings['bburl']}/index.php"><strong>Forum</a></strong></li>
                     <li><a href="{$mybb->settings['bburl']}/memberlist.php"><strong>{$lang->toplinks_memberlist}</strong></a></li>
                     <li><a href="{$mybb->settings['bburl']}/calendar.php"><strong>Kalendarz</a></strong></li>
                     <li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><strong>{$lang->toplinks_help}</strong></a></li>
                     <li><a href="{$mybb->settings['bburl']}/search.php"><strong>Szukaj</strong></a></li>
                 </ul></div>
Cytat:It's all about the details.
---------------
PW tylko forum, nie mejl.


Próbowałem już wcześniej nic z tego ten sam efekt. :/
SaiL, u mnie wszystko odczytuje:
[Obrazek: 352j5lz.png]
Cytat:It's all about the details.
---------------
PW tylko forum, nie mejl.


No tak samą belkę z klasy #menutxt czyta ale nie wczytuje linków z tej klasy tylko bierze sobie z tej podstawowej z css
SaiL,
Chodzi ci o to, żeby zmienić kolor czcionki w menu?

Zamień to:

.menutxt a:link {
     color: #ffffff;
     text-decoration: none;
}

.menutxt a:visited {
     color: #ffffff;
     text-decoration: none;
}

.menutxt a:hover, .menutxt a:active {
     color: #ffffff;
     text-decoration: none;
}
na:
#menutxt a:link {
     color: #ffffff;
     text-decoration: none;
}

#menutxt a:visited {
     color: #ffffff;
     text-decoration: none;
}

#menutxt a:hover, .menutxt a:active {
     color: #ffffff;
     text-decoration: none;
}
Cytat:It's all about the details.
---------------
PW tylko forum, nie mejl.


Tak o to mi chodzi, to też wczoraj próbowałem niby działa ale nie tak jak ja chce tz. jak zmienię tak jak napisałeś to całe forum korzysta z tego a ja chce ustawić to tylko dla menu a reszta linków ma już w css standardowo i z tego ma korzystać, a menu ma mieć całkiem osobno i ma korzystać tylko i wyłącznie z
.menutxt a:link {
     color: #ffffff;
     text-decoration: none;
}

.menutxt a:visited {
     color: #ffffff;
     text-decoration: none;
}

.menutxt a:hover, .menutxt a:active {
     color: #ffffff;
     text-decoration: none;
}
To może zamień:
<ul id="menutxt">
                 <ul>
                     <li><a href="http://testyy.p.ht"><strong>Forum</a></strong></li>
                     <li><a href="{$mybb->settings['bburl']}/memberlist.php"><strong>{$lang->toplinks_memberlist}</strong></a></li>
                     <li><a href="{$mybb->settings['bburl']}/calendar.php"><strong>Kalendarz</a></strong></li>
                     <li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><strong>{$lang->toplinks_help}</strong></a></li>
                     <li><a href="{$mybb->settings['bburl']}/search.php"><strong>Szukaj</strong></a></li>
                 </ul>

na:

<ul class="menutxt">
                 <ul>
                     <li><a href="http://testyy.p.ht"><strong>Forum</a></strong></li>
                     <li><a href="{$mybb->settings['bburl']}/memberlist.php"><strong>{$lang->toplinks_memberlist}</strong></a></li>
                     <li><a href="{$mybb->settings['bburl']}/calendar.php"><strong>Kalendarz</a></strong></li>
                     <li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><strong>{$lang->toplinks_help}</strong></a></li>
                     <li><a href="{$mybb->settings['bburl']}/search.php"><strong>Szukaj</strong></a></li>
                 </ul></ul>
Cytat:It's all about the details.
---------------
PW tylko forum, nie mejl.


Nic z tego jeszcze gorze rozjechana całe menu



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

1 gości