I’m trying to make a navigation bar in my wordpress but im kinda stuck right now.
i want: that the page on wich i am is an other color than the original color i gave it.
but the original color stays over it. and on the left side of the buttons i got 10pixels that are the good color but i dont want the pixels there.
Code:
access {
float: left;
padding-left:265px;
width:1920px;
}
access ul {
list-style: none;
margin: 0;
padding-left: 0;
}
access li a{
background:#ff0000;
width:195px;
margin-left:10px;
text-align:center;
font-size:150%;
color:white;
float:left;
}
access a {
line-height: 2em;
padding: 0 1em;
text-decoration: none;
}
access li:hover > a,
access ul ul :hover > a {
background:#0000ff;
padding-top:39px;
margin-top:-39px;
}
access .current_page_item{
background:#00ff00;
padding-top:39px;
margin-top:-39px;
float:left;
}
Hope someonecan help me