realign some stuff
This commit is contained in:
parent
c9787c436a
commit
ebb8b9d5f5
11
index.php
11
index.php
|
@ -13,6 +13,10 @@
|
||||||
|
|
||||||
get_header();
|
get_header();
|
||||||
|
|
||||||
|
$container = get_theme_mod('understrap_container_type');
|
||||||
|
|
||||||
|
$sidebar_pos = get_theme_mod('understrap_sidebar_position');
|
||||||
|
|
||||||
if ( is_front_page() && is_home() ) {
|
if ( is_front_page() && is_home() ) {
|
||||||
get_sidebar('hero');
|
get_sidebar('hero');
|
||||||
|
|
||||||
|
@ -22,18 +26,13 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php
|
|
||||||
$container = get_theme_mod('understrap_container_type');
|
|
||||||
$sidebar_pos = get_theme_mod('understrap_sidebar_position');
|
|
||||||
?>
|
|
||||||
|
|
||||||
<div class="wrapper" id="wrapper-index">
|
<div class="wrapper" id="wrapper-index">
|
||||||
|
|
||||||
<div class="<?php echo $container?>" id="content">
|
<div class="<?php echo $container?>" id="content">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<!-- Do the left sidebar check -->
|
<!-- Do the left sidebar check and opens the primary div -->
|
||||||
<?php get_template_part( 'global-templates/left-sidebar-check', 'none' ); ?>
|
<?php get_template_part( 'global-templates/left-sidebar-check', 'none' ); ?>
|
||||||
|
|
||||||
<main class="site-main" id="main" role="main">
|
<main class="site-main" id="main" role="main">
|
||||||
|
|
|
@ -18,7 +18,7 @@ $sidebar_pos = get_theme_mod('understrap_sidebar_position');
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<!-- Do the left sidebar check -->
|
<!-- Do the left sidebar check and opens the primary div -->
|
||||||
<?php get_template_part( 'global-templates/left-sidebar-check', 'none' ); ?>
|
<?php get_template_part( 'global-templates/left-sidebar-check', 'none' ); ?>
|
||||||
|
|
||||||
<main class="site-main" id="main" role="main">
|
<main class="site-main" id="main" role="main">
|
||||||
|
@ -55,7 +55,7 @@ $sidebar_pos = get_theme_mod('understrap_sidebar_position');
|
||||||
|
|
||||||
</main><!-- #main -->
|
</main><!-- #main -->
|
||||||
|
|
||||||
</section><!-- #primary -->
|
</div><!-- #primary -->
|
||||||
|
|
||||||
<!-- Do the right sidebar check -->
|
<!-- Do the right sidebar check -->
|
||||||
<?php if ( 'right' === $sidebar_pos || 'both' === $sidebar_pos ): ?>
|
<?php if ( 'right' === $sidebar_pos || 'both' === $sidebar_pos ): ?>
|
||||||
|
|
Reference in New Issue