Revise markup for navbar toggle.

1. Current BS4 documentation uses an entity for the navbar toggle instead of styled span tags.

2. Change navbar toggle class to match documentation. 

http://v4-alpha.getbootstrap.com/components/navbar/
This commit is contained in:
ted 2016-09-02 10:11:28 -06:00 committed by GitHub
parent 995bf67d56
commit b2ef50853f
1 changed files with 3 additions and 6 deletions

View File

@ -39,12 +39,9 @@
<!-- .navbar-toggle is used as the toggle for collapsed navbar content --> <!-- .navbar-toggle is used as the toggle for collapsed navbar content -->
<button class="navbar-toggle hidden-sm-up" type="button" data-toggle="collapse" data-target=".exCollapsingNavbar"> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target=".exCollapsingNavbar" aria-controls="exCollapsingNavbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="sr-only">Toggle navigation</span> &#9776;
<span class="icon-bar"></span> </button>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<!-- Your site title as branding in the menu --> <!-- Your site title as branding in the menu -->
<a class="navbar-brand" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a> <a class="navbar-brand" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>