Hides the sidebar if no widgets are enabled
This commit is contained in:
parent
611f947eeb
commit
d8b55f5c3c
@ -37,6 +37,7 @@
|
||||
|
||||
<div id="main" class="site-main container">
|
||||
|
||||
<?php if (is_active_sidebar( 'sidebar-1' )): ?>
|
||||
<div class="row">
|
||||
<div class="span3">
|
||||
<div class="sidebar-affix">
|
||||
@ -48,3 +49,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="span9">
|
||||
<?php else: ?>
|
||||
<div class="span12">
|
||||
<?php endif; ?>
|
||||
|
Loading…
Reference in New Issue
Block a user