Skip to content
This repository
Browse code

Updated responsive navbar wrapping to use the button element and clea…

…ned up file
  • Loading branch information...
commit 87aa86708060defd1ceefc30ec9f349f78763b96 1 parent 0b7e8b5
Rachel Baker authored July 16, 2012

Showing 1 changed file with 6 additions and 8 deletions. Show diff stats Hide diff stats

  1. 14  header.php
14  header.php
@@ -7,7 +7,7 @@
7 7
  * @subpackage Default_Theme
8 8
  * @since WP-Bootstrap 0.1
9 9
  *
10  
- * Last Revised: April 11, 2012
  10
+ * Last Revised: July 16, 2012
11 11
  */ ?>
12 12
 <!DOCTYPE html>
13 13
 <html <?php language_attributes(); ?>>
@@ -54,18 +54,18 @@
54 54
 <![endif]-->
55 55
     <?php wp_head(); ?>
56 56
   </head>
57  
-  <body <?php body_class(); ?>  data-spy="scroll" data-target=".subnav" data-offset="50">
58  
-    <div class="navbar">
  57
+  <body <?php body_class(); ?>  data-spy="scroll" data-target=".bs-docs-sidebar" data-offset="10">
  58
+    <div class="navbar navbar-relative-top">
59 59
       <div class="navbar-inner">
60 60
         <div class="container">
61  
-           <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
  61
+           <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
62 62
             <span class="icon-bar"></span>
63 63
             <span class="icon-bar"></span>
64 64
             <span class="icon-bar"></span>
65  
-          </a>
  65
+          </button>
66 66
           <a class="brand" href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
67 67
           <?php
68  
-           /** Loading WordPress Custom Menu with Fallback to wp_list_pages **/
  68
+           /** Loading WordPress Custom Menu  **/
69 69
            wp_nav_menu( array(
70 70
               'menu'            => 'main-menu',
71 71
               'container_class' => 'nav-collapse',
@@ -78,6 +78,4 @@
78 78
       </div>
79 79
     </div>
80 80
     <!-- End Header -->
81  
-      <div id="content-wrapper">
82  
-        <div class="container">
83 81
               <!-- Begin Template Content -->

0 notes on commit 87aa867

Please sign in to comment.
Something went wrong with that request. Please try again.