Hi hab meine Seite auf Wordpress angepasst und mir auch ein Menue gebastelt, aber es läuft nicht wie es soll. Er zeigt es nicht "inline" an, obwohl ich das im css definiere.
Hier mal mein Stylesheet usw.
css:
Code:
body {
background:#626262;
font-family:Tahoma, Verdana, Arial, Helvetica, sans-serif;
color: #FFFFFF;
font-size: 11px;
}
#page {
left: 50%;
right: 50%;
}
#page, #header, #main, #menue, #content, #footer {
width:750px;
}
#header {
background:url(images/head.jpg);
background-repeat:no-repeat;
height: 100px;
}
#main {
background:url(images/main.jpg);
background-repeat:no-repeat;
}
w
#content, .content {
padding: 5px;
margin-left: 1px;
width: 738px;
background:#000000;
}
.content {
width: 733px;
}
#footer {
height:53px;
background: url(banner/heishere.jpg);
background-repeat: no-repeat;
float: right;
color: #FFFFFF;
font-size: 8px;
}
h1, h2, h3, h4 {
color: #FFFFFF;
font-size:16px;
margin: 1px;
padding: 0;
}
a.admin {
color: #000000;
background:#FFFFFF;
font-weight:bold;
}
a.admin:hover {
color:#990000;
background:#333333;
}
#text {
border: solid 2px #FFFFFF;
margin: 2px;
}
a {
color: #00CC00;
font-size: 12px;
font-weight:bold;
}
.entry {
width: 90%;
}
.postmetadata {
}
sidebar/menue:
Code:
<ul>
<li class="item" id="page_item_<?php if ( is_home() ) { echo('current_page_item'); } ?>">
<a href="<?php echo get_settings('home'); ?>/">Startseite</a>
</li>
<?php wp_list_pages('title_li=' ); ?>
</ul>
ausgeführt:
Code:
<div id="menue">
<ul>
<li class="item" id="page_item_current_page_item">
<a href="http://.../">Startseite</a>
</li>
<li class="page_item page-item-8"><a href="http://.../?page_id=8" title="Gallery">Gallery</a>
<ul>
<li class="page_item page-item-10"><a href="http://.../?page_id=10" title="...">...</a></li>
</ul>
</li>
<li class="page_item page-item-4"><a href="http://.../?page_id=4" title="Guestbook">Guestbook</a></li>
<li class="page_item page-item-3"><a href="http://.../?page_id=3" title="Vita">Vita</a></li>
</ul>
</div>
Hat jemand ne Ahnung woran das liegt?