---
title: "Menu CSS Zweite Ebene andere Schriftfarbe"
url: "https://www.typo3.net/d/72761-menu-css-zweite-ebene-andere-schriftfarbe"
source: "typo3.net"
tags: ["TYPO3","Menüs","Frage","HTML & CSS"]
created: "2008-01-22"
last_reply: "2008-01-23"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# Menu CSS Zweite Ebene andere Schriftfarbe

TYPO3 › Menüs · 1 Antwort · gestartet 2008-01-22

## Eröffnungsbeitrag

**typo3_hp** · 2008-01-22 · [Beitrag #1](https://www.typo3.net/d/72761-menu-css-zweite-ebene-andere-schriftfarbe/1)

Hallo!

Ich habe es nun endlich geschafft ein passendes Menu zu generieren.

Siehe: <http://www.develop.cgsolutions-online.de>

WIe kann ich es machen, das beim Text der 2. Ebene des Menus die Schriftart rot ist?

Vielen Dank

Hier mein CSS-Code

lg chris

#leftcol {
margin-top:65px;
margin-left:10px;
position: relative;
float: left;
width: 150px;
display: inline;
/*funktioniert im FF und IE*/

}
span.hidden {
position:absolute;
left:-1000px;
top:-1000px;
width:0;
height:0;
overflow:hidden;
display:inline;
}
div#leftcol {
background-color:#d5d5d5;
width: 180px;
border: 1px solid white;
border-bottom: 0px;
}
div#leftcol * {
margin: 0px;
padding: 0px;
color: black;
}
div#leftcol .cur {
color: #005BAB;
}

div#leftcol .act {
color: #005BAB;
}
div#leftcol ul {
list-style-type: none;
}
div#leftcol ul li {
border-bottom: 1px solid white;
margin:0 0 0 14px;

}

div#leftcol ul li a,
div#leftcol ul li div {
padding: 3px 3px 3px 2px;
text-decoration: none;
font-family: verdana,arial,helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
display: block;
}
div#leftcol ul li a:hover {
background-color: #ffffff;
}
div#leftcol ul ul {
background-color: #e5e5e5;
}
div#leftcol ul ul li {
border-bottom: none;
}
div#leftcol ul ul li a,
div#leftcol ul ul li div {
font-size: 10px;
padding-left:6px;
}
div#leftcol ul ul li a:hover{
background-color: #ddddff;
}

Hier mein TS:

```typoscript
#Einbindung Navigation links

subparts.leftcol = HMENU
subparts.leftcol {
	special = directory
	special.value = 2
	wrap = <div id="mainmenu">|</div>
	1 = TMENU
	1 {
		noBlur = 1
		wrap = <ul>|</ul>
		NO = 1
		NO {
			linkWrap = |<span class="hidden">.</span>
			wrapItemAndSub = <li>|</li>
			ATagTitle.field = abstract // description // title
		}
		
		CUR < .NO
		CUR.linkWrap = <div class="cur">|<span class="hidden">.</span></div>
		CUR.doNotLinkIt = 1
		
		ACT < .NO
		ACT.ATagParams = class="act"
	}
	2 < .1
	3 < .1
}
```

## Antworten

### [#2](https://www.typo3.net/d/72761-menu-css-zweite-ebene-andere-schriftfarbe/2) · Unbekannter Benutzer · 2008-01-23

Das kannst du per ATagParams machen, so wie du das ja auch schon in dem ACT-Zustand der ersten Ebene machst. Anschließend eine class in deinem CSS-File erstellen.

---

Quelle: „Menu CSS Zweite Ebene andere Schriftfarbe“, typo3.net, https://www.typo3.net/d/72761-menu-css-zweite-ebene-andere-schriftfarbe
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
