adding missing .row classes
This commit is contained in:
parent
ffa204fbb6
commit
70fb2d0d84
4
404.php
4
404.php
|
@ -9,6 +9,8 @@ get_header(); ?>
|
||||||
|
|
||||||
<div id="content" class="container">
|
<div id="content" class="container">
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
<div id="primary" class="content-area">
|
<div id="primary" class="content-area">
|
||||||
|
|
||||||
<main id="main" class="site-main" role="main">
|
<main id="main" class="site-main" role="main">
|
||||||
|
@ -66,6 +68,8 @@ get_header(); ?>
|
||||||
|
|
||||||
</div><!-- #primary -->
|
</div><!-- #primary -->
|
||||||
|
|
||||||
|
</div> <!-- .row -->
|
||||||
|
|
||||||
</div><!-- Container end -->
|
</div><!-- Container end -->
|
||||||
|
|
||||||
</div><!-- Wrapper end -->
|
</div><!-- Wrapper end -->
|
||||||
|
|
|
@ -13,6 +13,8 @@ get_header(); ?>
|
||||||
|
|
||||||
<div id="content" class="container">
|
<div id="content" class="container">
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
<div id="primary" class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area">
|
<div id="primary" class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area">
|
||||||
|
|
||||||
<main id="main" class="site-main" role="main">
|
<main id="main" class="site-main" role="main">
|
||||||
|
@ -53,6 +55,8 @@ get_header(); ?>
|
||||||
|
|
||||||
<?php get_sidebar(); ?>
|
<?php get_sidebar(); ?>
|
||||||
|
|
||||||
|
</div> <!-- .row -->
|
||||||
|
|
||||||
</div><!-- Container end -->
|
</div><!-- Container end -->
|
||||||
|
|
||||||
</div><!-- Wrapper end -->
|
</div><!-- Wrapper end -->
|
||||||
|
|
|
@ -5849,16 +5849,16 @@ button.close {
|
||||||
.wrapper {
|
.wrapper {
|
||||||
padding: 30px 0; }
|
padding: 30px 0; }
|
||||||
|
|
||||||
#wrapper-hero, #wrapper-static-hero {
|
#wrapper-hero {
|
||||||
padding: 0px !important; }
|
padding: 0px !important; }
|
||||||
|
|
||||||
.sticky, .gallery-caption, .bypostauthor {
|
.sticky, .gallery-caption, .bypostauthor {
|
||||||
font-size: inherit; }
|
font-size: inherit; }
|
||||||
|
|
||||||
.wrapper#wrapper-sticky {
|
.wrapper#wrapper-sticky {
|
||||||
border-bottom: 1px solid #eeeeee; }
|
border-bottom: 1px solid #777777; }
|
||||||
|
|
||||||
#wrapper-footer-full {
|
#wrapper-footer-full, #wrapper-static-hero {
|
||||||
background-color: #eeeeee; }
|
background-color: #eeeeee; }
|
||||||
|
|
||||||
.wp-caption {
|
.wp-caption {
|
||||||
|
@ -5891,6 +5891,9 @@ a.skip-link {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: block; }
|
display: block; }
|
||||||
|
|
||||||
|
.jumbotron {
|
||||||
|
margin-bottom: 0px; }
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome
|
* Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome
|
||||||
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
|
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -9,7 +9,7 @@ function understrap_widgets_init() {
|
||||||
register_sidebar( array(
|
register_sidebar( array(
|
||||||
'name' => __( 'Sidebar', 'understrap' ),
|
'name' => __( 'Sidebar', 'understrap' ),
|
||||||
'id' => 'sidebar-1',
|
'id' => 'sidebar-1',
|
||||||
'description' => '',
|
'description' => 'Sidebar widget area',
|
||||||
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
|
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
|
||||||
'after_widget' => '</aside>',
|
'after_widget' => '</aside>',
|
||||||
'before_title' => '<h3 class="widget-title">',
|
'before_title' => '<h3 class="widget-title">',
|
||||||
|
@ -19,7 +19,7 @@ function understrap_widgets_init() {
|
||||||
register_sidebar( array(
|
register_sidebar( array(
|
||||||
'name' => __( 'Hero Slider', 'understrap' ),
|
'name' => __( 'Hero Slider', 'understrap' ),
|
||||||
'id' => 'hero',
|
'id' => 'hero',
|
||||||
'description' => '',
|
'description' => 'Hero slider area. Place two or more widgets here and they will slide!',
|
||||||
'before_widget' => '<div class="item">',
|
'before_widget' => '<div class="item">',
|
||||||
'after_widget' => '</div>',
|
'after_widget' => '</div>',
|
||||||
'before_title' => '',
|
'before_title' => '',
|
||||||
|
@ -29,7 +29,7 @@ function understrap_widgets_init() {
|
||||||
register_sidebar( array(
|
register_sidebar( array(
|
||||||
'name' => __( 'Hero Static', 'understrap' ),
|
'name' => __( 'Hero Static', 'understrap' ),
|
||||||
'id' => 'statichero',
|
'id' => 'statichero',
|
||||||
'description' => '',
|
'description' => 'Static Hero widget. no slider functionallity',
|
||||||
'before_widget' => '',
|
'before_widget' => '',
|
||||||
'after_widget' => '',
|
'after_widget' => '',
|
||||||
'before_title' => '',
|
'before_title' => '',
|
||||||
|
@ -39,7 +39,7 @@ function understrap_widgets_init() {
|
||||||
register_sidebar( array(
|
register_sidebar( array(
|
||||||
'name' => __( 'Footer Full', 'understrap' ),
|
'name' => __( 'Footer Full', 'understrap' ),
|
||||||
'id' => 'footerfull',
|
'id' => 'footerfull',
|
||||||
'description' => '',
|
'description' => 'Widget area below main content and above footer',
|
||||||
'before_widget' => '',
|
'before_widget' => '',
|
||||||
'after_widget' => '',
|
'after_widget' => '',
|
||||||
'before_title' => '',
|
'before_title' => '',
|
||||||
|
|
|
@ -21,6 +21,8 @@ get_header(); ?>
|
||||||
|
|
||||||
<div id="content" class="container">
|
<div id="content" class="container">
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
<div id="primary" class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area">
|
<div id="primary" class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area">
|
||||||
|
|
||||||
<main id="main" class="site-main" role="main">
|
<main id="main" class="site-main" role="main">
|
||||||
|
@ -55,6 +57,8 @@ get_header(); ?>
|
||||||
|
|
||||||
<?php get_sidebar(); ?>
|
<?php get_sidebar(); ?>
|
||||||
|
|
||||||
|
</div><!-- .row -->
|
||||||
|
|
||||||
</div><!-- Container end -->
|
</div><!-- Container end -->
|
||||||
|
|
||||||
</div><!-- Wrapper end -->
|
</div><!-- Wrapper end -->
|
||||||
|
|
4
page.php
4
page.php
|
@ -16,6 +16,8 @@ get_header(); ?>
|
||||||
|
|
||||||
<div id="content" class="container">
|
<div id="content" class="container">
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
<div id="primary" class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area">
|
<div id="primary" class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area">
|
||||||
|
|
||||||
<main id="main" class="site-main" role="main">
|
<main id="main" class="site-main" role="main">
|
||||||
|
@ -39,6 +41,8 @@ get_header(); ?>
|
||||||
|
|
||||||
<?php get_sidebar(); ?>
|
<?php get_sidebar(); ?>
|
||||||
|
|
||||||
|
</div><!-- .row -->
|
||||||
|
|
||||||
</div><!-- Container end -->
|
</div><!-- Container end -->
|
||||||
|
|
||||||
</div><!-- Wrapper end -->
|
</div><!-- Wrapper end -->
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reset hero wrapper padding to 0
|
// Reset hero wrapper padding to 0
|
||||||
#wrapper-hero, #wrapper-static-hero {
|
#wrapper-hero {
|
||||||
padding:0px!important;
|
padding:0px!important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,11 +15,11 @@ font-size:inherit;
|
||||||
|
|
||||||
// Separate sticky wrapper from main content
|
// Separate sticky wrapper from main content
|
||||||
.wrapper#wrapper-sticky {
|
.wrapper#wrapper-sticky {
|
||||||
border-bottom:1px solid $gray-lighter;
|
border-bottom:1px solid $gray-light;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Adding some contrast background color to footer full widget
|
// Adding some contrast background color to footer full widget
|
||||||
#wrapper-footer-full{
|
#wrapper-footer-full, #wrapper-static-hero{
|
||||||
background-color: $gray-lighter;
|
background-color: $gray-lighter;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -65,3 +65,8 @@ margin-bottom: -20px;
|
||||||
position: relative;
|
position: relative;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Reset Jumbotron default margin
|
||||||
|
.jumbotron {
|
||||||
|
margin-bottom:0px;
|
||||||
|
}
|
||||||
|
|
|
@ -10,6 +10,8 @@ get_header(); ?>
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
<section id="primary" class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area">
|
<section id="primary" class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area">
|
||||||
|
|
||||||
<main id="main" class="site-main" role="main">
|
<main id="main" class="site-main" role="main">
|
||||||
|
@ -50,6 +52,8 @@ get_header(); ?>
|
||||||
|
|
||||||
<?php get_sidebar(); ?>
|
<?php get_sidebar(); ?>
|
||||||
|
|
||||||
|
</div><!-- .row -->
|
||||||
|
|
||||||
</div><!-- Container end -->
|
</div><!-- Container end -->
|
||||||
|
|
||||||
</div><!-- Wrapper end -->
|
</div><!-- Wrapper end -->
|
||||||
|
|
|
@ -10,6 +10,8 @@ get_header(); ?>
|
||||||
|
|
||||||
<div id="content" class="container">
|
<div id="content" class="container">
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
<div id="primary" class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area">
|
<div id="primary" class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area">
|
||||||
|
|
||||||
<main id="main" class="site-main" role="main">
|
<main id="main" class="site-main" role="main">
|
||||||
|
@ -35,6 +37,8 @@ get_header(); ?>
|
||||||
|
|
||||||
<?php get_template_part('sidebar'); ?>
|
<?php get_template_part('sidebar'); ?>
|
||||||
|
|
||||||
|
<7div><!-- .row -->
|
||||||
|
|
||||||
</div><!-- Container end -->
|
</div><!-- Container end -->
|
||||||
|
|
||||||
</div><!-- Wrapper end -->
|
</div><!-- Wrapper end -->
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
<!-- ******************* The Sticky Area ******************* -->
|
<!-- ******************* The Sticky Area ******************* -->
|
||||||
<div class="wrapper" id="wrapper-sticky">
|
<div class="wrapper" id="wrapper-sticky">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<?php
|
<?php
|
||||||
$sticky = get_option( 'sticky_posts' );
|
$sticky = get_option( 'sticky_posts' );
|
||||||
|
@ -21,6 +22,7 @@
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</div><!-- #wrapper-sticky-->
|
</div><!-- #wrapper-sticky-->
|
||||||
|
|
||||||
<?php endwhile; ?>
|
<?php endwhile; ?>
|
||||||
|
|
|
@ -4,20 +4,8 @@
|
||||||
|
|
||||||
<div class="wrapper" id="wrapper-footer-full">
|
<div class="wrapper" id="wrapper-footer-full">
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
|
|
||||||
<div class="col-md-12">
|
|
||||||
|
|
||||||
<?php dynamic_sidebar( 'footerfull' ); ?>
|
<?php dynamic_sidebar( 'footerfull' ); ?>
|
||||||
|
|
||||||
</div><!-- .col-md-12 -->
|
|
||||||
|
|
||||||
</div><!-- .row -->
|
|
||||||
|
|
||||||
</div><!-- .container -->
|
|
||||||
|
|
||||||
</div><!-- #wrapper-footer-full -->
|
</div><!-- #wrapper-footer-full -->
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
Reference in New Issue