rearrange hero area

This commit is contained in:
koenemann 2017-01-09 16:08:01 +01:00
parent c90f428bf1
commit e99b210c39
2 changed files with 20 additions and 6 deletions

View File

@ -1,2 +1,20 @@
<?php
/**
* Hero setup.
*
* @package understrap
*/
?>
<?php if ( is_active_sidebar('hero') or is_active_sidebar('statichero')) : ?>
<div class="wrapper" id="wrapper-hero">
<?php get_sidebar( 'hero' ); ?> <?php get_sidebar( 'hero' ); ?>
<?php get_sidebar( 'statichero' ); ?> <?php get_sidebar( 'statichero' ); ?>
</div>
<?php endif; ?>

View File

@ -11,14 +11,10 @@
<!-- ******************* The Hero Widget Area ******************* --> <!-- ******************* The Hero Widget Area ******************* -->
<div class="wrapper" id="wrapper-hero">
<div class="owl-carousel"> <div class="owl-carousel">
<?php dynamic_sidebar( 'hero' ); ?> <?php dynamic_sidebar( 'hero' ); ?>
</div><!-- .owl-carousel --> </div><!-- .owl-carousel -->
</div><!-- #wrapper-hero -->
<?php endif; ?> <?php endif; ?>