moving off-canvas navi and toggle to the left side
This commit is contained in:
parent
ec81dcebed
commit
e1fe8aeceb
|
@ -24,7 +24,7 @@
|
|||
|
||||
<?php
|
||||
/* translators: %s: Name of current post */
|
||||
the_excerpt( );
|
||||
the_excerpt();
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
|
File diff suppressed because one or more lines are too long
20
header.php
20
header.php
|
@ -18,8 +18,6 @@
|
|||
|
||||
<body <?php body_class(); ?>>
|
||||
|
||||
|
||||
|
||||
<div id="page" class="hfeed site">
|
||||
|
||||
<!-- ******************* The Navbar Area ******************* -->
|
||||
|
@ -31,6 +29,13 @@
|
|||
|
||||
<div class="navbar navbar-inverse navbar-fixed-top">
|
||||
|
||||
<?php if ( is_active_sidebar( 'off-canvas' ) ): ?>
|
||||
<!-- Off Canvas Toggle -->
|
||||
<a class="off-canvas-toggle-link" data-toggle="offcanvas" data-target=".navmenu" data-canvas="body">
|
||||
menu
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div class="col-xs-<?php if ( is_active_sidebar( 'off-canvas' ) ): ?>11<?php else : ?>12<?php endif; ?>">
|
||||
|
@ -64,21 +69,14 @@
|
|||
|
||||
</div> <!-- .col-md-11 or col-md-12 end -->
|
||||
|
||||
<?php if ( is_active_sidebar( 'off-canvas' ) ): ?>
|
||||
<div class="col-xs-1 text-right">
|
||||
<!-- Off Canvas Toggle -->
|
||||
<a class="off-canvas-toggle-link" data-toggle="offcanvas" data-target=".navmenu" data-canvas="body">
|
||||
menu
|
||||
</a>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
</div> <!-- .container -->
|
||||
|
||||
</div><!-- .navbar -->
|
||||
|
||||
<?php if ( is_active_sidebar( 'off-canvas' ) ): ?>
|
||||
<div class="navmenu navmenu-inverse navmenu-fixed-right offcanvas">
|
||||
<div class="navmenu navmenu-inverse navmenu-fixed-left offcanvas">
|
||||
<!-- Off Canvas Toggle -->
|
||||
<a class="off-canvas-toggle-link" data-toggle="offcanvas" data-target=".navmenu" data-canvas="body">
|
||||
menu
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -17,7 +17,7 @@ font-size:inherit;
|
|||
|
||||
// AdditionL Off-Canvas styling
|
||||
.off-canvas-toggle-link{
|
||||
float:right;
|
||||
float:left;
|
||||
line-height:30px;
|
||||
padding:10px;
|
||||
color:#fff;
|
||||
|
|
Reference in New Issue