streamline 404.php and aligning with other page templates

This commit is contained in:
koenemann 2017-05-18 09:42:44 +02:00
parent f5f7b7598b
commit 1edee9642e
1 changed files with 9 additions and 4 deletions

13
404.php
View File

@ -6,16 +6,21 @@
*/ */
get_header(); get_header();
$container = get_theme_mod( 'understrap_container_type' );
$sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
?> ?>
<div class="wrapper" id="404-wrapper"> <div class="wrapper" id="404-wrapper">
<div class="container" id="content"> <div class="<?php echo esc_html( $container ); ?>" id="content" tabindex="-1">
<div class="row"> <div class="row">
<div class="content-area" id="primary"> <div class="col-md-12 content-area" id="primary">
<main class="site-main" id="main" role="main"> <main class="site-main" id="main">
<section class="error-404 not-found"> <section class="error-404 not-found">
@ -74,7 +79,7 @@ get_header();
</div><!-- #primary --> </div><!-- #primary -->
</div> <!-- .row --> </div><!-- .row -->
</div><!-- Container end --> </div><!-- Container end -->