Alıntı
$output .= '<li' . $addclass . '><a href="'.get_permalink($thats_all->ID).'" title="'.$thats_all->post_title.'"><span>'.$thats_all->post_title.'</span></a></li>';
}
eklediğiniz kodları yukarıda ki kodların altına eklediyseniz böyle bir sorun olmaması gerekir.
Eğer olmazsa;
style.css altına
Alıntı
#navsag {
clear: both;
margin: 10px 0 -15px 0;
}
#navsag ul {
margin: 0;
padding: 0;
list-style: none;
}
#navsag li {
float: right;
margin-right: 10px;
}
* html #navsag li a {
float: right;
text-decoration: none;
}
* html #navsag li a span {
float: right;
margin-left: 4px;
text-decoration: none;
}
#navsag li a {
display: block;
height: 26px;
background: url(images/bgtableft.gif) left top no-repeat;
text-transform: lowercase;
font-size: 10pt;
text-decoration: none;
}
#navsag li a span {
display: block;
margin-left: 6px;
padding-left: 5px;
padding-right: 12px;
line-height: 26px;
font-weight: bold;
color: #FFF;
background: url(images/bgtabright.gif) right top no-repeat;
text-decoration: none;
}
#navsag li a:hover {
background-position: left -26px;
text-decoration: none;
cursor: pointer;
}
#navsag li a:hover span {
background-position: right -26px;
color: #000;
}
#navsag li.current_page a {
background-position: left -26px;
}
#navsag li.current_page a span {
background-position: right -26px;
color: #000;
}
bu kodları ekleyin. sonradan eklediğiniz kodlarında başına <div class="navsag">kodlarınız</div> ekleyin. Doğru anlaşılmayacak bir şey göremiyorum ben ?
Not: float:center yada auto kullanabilirsiniz.