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 -->
<button class="navbar-toggle hidden-sm-up" type="button" data-toggle="collapse" data-target=".exCollapsingNavbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target=".exCollapsingNavbar" aria-controls="exCollapsingNavbar" aria-expanded="false" aria-label="Toggle navigation">
&#9776;
</button>
<!-- 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>