Zum Inhalt springen

HMENU TMENU CSS

Erstellt am 10. Juli 2019 · 1 Antwort · letzte Antwort am 10. Juli 2019

Tags: TYPO3 8, Frage

demiahl ·

Ich habe das Menue um eine 2. Ebene erweitert.

lib.mainNav = HMENU
lib.mainNav {
excludeUidList = 21,15
wrap = <ul>|</ul>
1 = TMENU
1 {
NO = 1
NO.allWrap = <li class="nav-slider">| </li>
ACT = 1
ACT.allWrap = <li class="active">|</li>
CUR = 1
CUR.allWrap = <li class="active">|</li>

IFSUB = !
IFSUB.wrapItemAndSub = <li class="hasSub">|</li>
IFSUB.stdWrap.htmlSpecialChars = 1
}
2 = TMENU
2.expAll = 1
2 {
wrap = <ul class="level-2">|</ul>

NO = 1
NO.stdWrap.htmlSpecialChars = 1
NO.wrapItemAndSub = <li>|</li>

ACT = 1
ACT.stdWrap.htmlSpecialChars = 1
ACT.wrapItemAndSub = <li class="current">|</li>

IFSUB = 1
IFSUB.wrapItemAndSub = <li class="hasSub">|</li>
IFSUB.stdWrap.htmlSpecialChars = 1
}
}
Jetzt möchte ich die 2. Ebene mit CSS stylen. Zur Zeit wird sie mir in derselben Zeile wie die 1. Ebene angezeigt. Ein Hilfeschubs in die richtige Richtung wäre supernett. Dank im Voraus.