Commits

Doug Stewart  committed 68bcd72

Changes made to make menu work correctly.

  • Participants
  • Parent commits 1f65e4f

Comments (0)

Files changed (2)

 	<p class="description"><?php bloginfo('description'); ?></p>
 </div>
         <ul id="menu">
-		<?php if (is_home()) : ?>
-                <li><a href="<?php bloginfo('url'); ?>" class="current_page_item">Blog</a></li>
+		<?php if (is_home() || is_single()) : ?>
+                <li class="current_page_item"><a href="<?php bloginfo('url'); ?>">Blog</a></li>
                 <?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>
-				<?php wp_register('<li class="admintab">','</li>'); ?>
+				<?php wp_register('<li class="admintab page_item">','</li>'); ?>
 		<?php else : ?>
-                <li><a href="<?php bloginfo('url'); ?>">Blog</a></li>
+                <li class="page_item"><a href="<?php bloginfo('url'); ?>">Blog</a></li>
                 <?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>
-				<?php wp_register('<li class="admintab">','</li>'); ?>
+				<?php wp_register('<li class="admintab page_item">','</li>'); ?>
 		<?php endif; ?>
         </ul>
 	

File styles/default-inverted.css

 }
 
 #menu a:link, #menu a:visited {
-	color:#fff;
-	background: transparent;
+	/*color:#fff;
+	background: transparent;*/
 	padding: 10px 10px 4px 10px;
 	float: left;
 	width: auto;
 }
 
 #menu a.current_page_item {
-	color: #000;
-	background:#cfcfd0;
+}
+
+.current_page_item a {
+	color: #000 !important;
+	background:#cfcfd0 !important;
+}
+
+.page_item a {
+	color:#fff;
+	background: transparent;	
 }
 
 #header h1 {