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