Hallo,
bin ein Typo3 Anfänger und versuche gerade ein Layermenü hinzubekommen. Allerdings hab ich das Problem das manche Menüeintrag ziemlich lang sind und ich nach einer bestimmten Länge einen Zeilenumbruch brauche.
anstatt:
sehr sehr sehr langer Menüeintrag
so:
sehr sehr sehr
langer Menüeintrag
Ausserdem zeigt das Stylesheet auf die Einträge überhaupt keine Wirkung. Woran kann das liegen?
bis jetzt hab ich das hier:
MENU = HMENU
MENU.1 = GMENU_LAYERS
MENU.1 {
layerStyle = position:absolute;left:0px;top:20px;width:10px;VISIBILITY:hidden;
xPosOffset = -10
lockPosition = x
expAll=1
NO {
allWrap = <p> | </p>
ATagParams = class="menutop"
after = <br><br>
backColor = #FFFFFF
XY = [10.w]+30, 20
10 = TEXT
10.text.field = title
#10.fontFace = fileadmin/arial.ttf
#10.fontSize = 12
#10.fontColor = #003399
10.offset = 5,15
}}
bin für jede Antwort dankbar!!!
CSS:
a {color:003399;font-family:arial;font-size:12px;text-decoration:none}
a:hover {color:003399;font-family:arial;font-size:12px;text-decoration:none}
a:active {color:FE0000;font-family:arial;font-size:12px;text-decoration:none}
a.menutop {color:003399;font-family:arial;font-size:12px; text-decoration:none}