add .container and .row markup to new dynamic sidebar footer full and static hero

This commit is contained in:
Holger Könemann 2017-01-25 10:24:51 +01:00
parent ef7c58099c
commit eeb27b00c7
2 changed files with 21 additions and 4 deletions

View File

@ -4,7 +4,7 @@
*
* @package understrap
*/
$container = get_theme_mod( 'understrap_container_type' );
?>
<?php if ( is_active_sidebar( 'footerfull' ) ) : ?>
@ -13,7 +13,15 @@
<div class="wrapper" id="wrapper-footer-full">
<?php dynamic_sidebar( 'footerfull' ); ?>
<div class="<?php echo esc_html( $container ); ?>" id="content" tabindex="-1">
<div class="row">
<?php dynamic_sidebar( 'footerfull' ); ?>
</div>
</div>
</div><!-- #wrapper-footer-full -->

View File

@ -4,15 +4,24 @@
*
* @package understrap
*/
$container = get_theme_mod( 'understrap_container_type' );
?>
<?php if ( is_active_sidebar( 'statichero' ) ) : ?>
<!-- ******************* The Hero Widget Area ******************* -->
<div class="wrapper" id="wrapper-static-hero">
<?php dynamic_sidebar( 'statichero' ); ?>
<div class="<?php echo esc_html( $container ); ?>" id="content" tabindex="-1">
<div class="row">
<?php dynamic_sidebar( 'statichero' ); ?>
</div>
</div>
</div><!-- #wrapper-static-hero -->