Liste der Anhänge anzeigen (Anzahl: 2)
Untermenü`s in der Navigationsleiste anpassen
Liebe Forengemeinde,
weder Google noch Beiträge hier können mir wirklich weiterhelfen - Falls ich was bei meiner 4stündigen Suche hier übersehen habe, bitte einen kleinen Stups. ;)
Folgendes neues Problem hat sich aufgetan:
Die (Haut-)Navigation funktioniert so, wie ich es mir vorstelle (siehe ScreenShoot 1).
Wenn ich jedoch auf einen Hauptnavigationspunkt klicke, wird die Unternavigation eingeblendet - soweit auch ok. Jedoch bricht die Hauptnavigation um und die nachfolgenden Hauptnavigationspunkte werden in einer 3. Zeile dargestellt. (siehe Screenshoot 2).
Änderungen der Einstellungen von "Display", "Overflow" und / oder "Clear" in der CSS brachten kein Erfolg (oder ich habs einfach falsch eingetragen?).
Jetzt habe ich mir folgende Gedanken gemacht:
1. Lösungsgedanke - eine zweite (Unter-)Navigation über Module einbinden und dort nur die Untermenü`s anzeigen lassen:
- müsste ich hierzu die entsprechenden CSS- Klassen in den Unterseiten (über die Funktion "Seitenstruktur") einbinden?
2. Lösungsgedanke - innerhalb der Navigation (irgendwie ein zweite Zeile erzeugen, in der nur die Untermenüs angezeigt werden
- hier häng ich total fest, wie...
Vom Grundsatz her stelle ich mir das so wie hier vor...
Mittlerweile qualmt mir der Kopf - und bin nur noch blind... Vielleicht hat jemand eine Idee dazu?
Hier mal meine CSS - Leider kann ich die neue Contao-Seite nicht online stellen, weil auf der Domain-Umleitung noch meine alte Seite läuft.
Code:
body {
width:100%;
height:100%;
margin-right:auto;
margin-left:auto;
background-color:#c9c5c5;
font:14px Arial;
font-weight:normal;
color:#575454;
}
#Header {
width:960px;
height:242px;
max-height:242px;
margin-right:auto;
margin-left:auto;
background-color:#d41919;
background-repeat:repeat;
}
#Navigation {
width:960px;
height:50px;
max-height:50px;
float:left;
margin-top:auto;
margin-bottom:auto;
vertical-align:middle;
background-color:#bfbdbd;
background-repeat:repeat;
font:14px/14px arial;
font-weight:bold;
color:#3fa1e8;
text-transform:capitalize;
word-spacing:0px;
list-style-type:none;
}
#Navigation li {
padding-right:35px;
padding-left:0;
display: inline
}
#Navigation ul {
padding-right:35px;
list-style: none
}
#Navigation a: {
color: #615f5f;
text-decoration: none;
}
#Navigation a:visited {
color: #082373;
text-decoration: none;
}
#Navigation a:hover {
font-weight:bold;
text-transform:uppercase;
width: 110px;
height: 25px;
color: #082373;
text-decoration: none;
background: #7ab3c4
}
#artikel {
width:960px;
height:480px;
margin-top:5px;
margin-right:auto;
margin-left:auto;
background-color:#f2f0f2;
border:1px groove #4f494;
font:14px/16px arial;
font-weight:normal;
color:#403e3e;
text-indent:5px;
}
#Ressourcen - Footer {
width:960px;
height:5px;
max-height:15px;
background-color:#bfbdbd;
font:8px arial;
font-weight:normal;
}