Hides the sidebar if no widgets are enabled

This commit is contained in:
Keitaroh Kobayashi 2013-08-16 16:02:13 +09:00
parent 611f947eeb
commit d8b55f5c3c

View File

@ -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; ?>