einfach in meiner style.css die einträge für die seiten bearbeiten ?
Meine Navigation css
#navigation {
background: transparent;
margin: 20px auto 0;
overflow: hidden;
width: 760px;
position: relative;
text-align: left;
font-family: Trebuchet MS,Tahoma, Verdana, Arial, Serif;
}
html #navigation {
height: 1%;
}
#navigation ul li {
float: left;
margin: 0 5px 0 0;
list-style-type: none;
}
#navigation ul li a {
border: #dedede 1px solid;
border-bottom:none;
padding: 2px 10px;
display: block;
font-weight:bold;
color:#666;
text-decoration: none;
background:#ededed;
letter-spacing:0px;
}
#navigation ul li a:hover, #navigation ul li a:active, #navigation ul li.current_page_item a {
background: #fff;
color: #333;
border: #ccc 1px solid;
border-bottom:none;
}
#navigation ul li.search {
font-size: 0.9em;
right: 0;
position: absolute;
top: 0;
}
#navigation ul li.search input#searchsubmit {
border: #999 1px solid;
font-size: 0.9em;
background: #ddd;
margin: 0 0 0 2px;
color: #265e15;
padding: 2px;
}
Alles anzeigen
Mein Eintrag in der Header.php
<div id="navigation">
<ul>
<li <?php if(is_home()){echo 'class="current_page_item"';}?>><a href="<?php bloginfo('siteurl'); ?>/" title="Home">Home</a></li>
<?php wp_list_pages('title_li=&depth=1&'.$page_sort.'&'.$pages_to_exclude)?>
<li class="search"><form method="get" id="searchform" action="<?php bloginfo('home'); ?>"><input type="text" class="textbox" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" /><input type="submit" id="searchsubmit" value="Search" /></form></li>
</ul>
</div><!-- end id:navigation -->
Ich versteh noch nicht wie ich dem Theme beibringe das die untergeordnete seiten in dem dropdown angezeigt werden.
Wäre nett wenn mir jemand eine erklärung schreiben könnte