Browse files

Body classes to fix the news highlighting on the forum issue

  • Loading branch information...
1 parent f928aba commit 40d08b78667bb6884850acaf2daa7124c4af7229 @jimwhimpey committed Mar 10, 2012
Showing with 3 additions and 1 deletion.
  1. +1 −1 header.php
  2. +2 −0 style.css
View
2 header.php
@@ -29,7 +29,7 @@
<?php wp_head(); ?>
</head>
- <body>
+ <body <?php body_class($class); ?>>
<a href="<?php echo home_url( '/' ); ?>" id="mobile-header"><img src="<?php bloginfo('template_directory') ?>/images/header-mobile.gif" alt="UQ Cycle Club" /></a>
<h1 class="header">
<a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
View
2 style.css
@@ -106,6 +106,8 @@ div.nav ul {
div.nav ul li.current_page_item,
div.nav ul li.current_page_ancestor,
div.nav ul li.current_page_parent { background: #193660; }
+
+ .bbPress div.nav ul li.current_page_parent { background: none; }
div.nav ul.secondary {
background: #193660;

0 comments on commit 40d08b7

Please sign in to comment.