Hallo,
ich bekomme es irgendwie nicht hin die Navi so zu ändern, dass die Textfarbe bei aktivem Link von vorher weiß auf blau wechselt (die Hintergrundfarbe wechselt dann von blau auf weiß)
(a:visited habe ich auskommentiert da nicht nötig)
Würde mich über nen Tipp sehr freuen.
Code
/******************************************
* Main or page navigation styles --> nav.css
******************************************/
/*Main Navbar */
#nav {
background:#1E5286;
color: #000;
font-size:1em;
}
#nav, #nav ul {
list-style:none;
line-height:1;
}
#nav ul {
list-style:none;
line-height:1;
}
#nav a {
display: block;
text-decoration: none;
border:none;
font-weight:bold;
color: #fff;
padding:6px 12px;
}
#nav a:hover {
display: block;
text-decoration: none;
border:none;
background:#fff;
color: #1E5286;
}
#nav li {
float: left;
list-style:none;
border-right:1px solid #fff;
}
/*#nav a:visited {
display:block;
font-weight:bold;
color: #1E5286;
padding:6px 12px;
}*/
#nav a:active {
background:#fff;
color: #1E5286;
text-decoration:none;
}
.current_page_item a, #home .on {background:#fff; color:#1E5286;}
...............
Alles anzeigen