adding missing .row classes

This commit is contained in:
Holger Könemann 2016-03-09 10:16:22 +01:00
parent ffa204fbb6
commit 70fb2d0d84
12 changed files with 231 additions and 209 deletions

View File

@ -9,6 +9,8 @@ get_header(); ?>
<div id="content" class="container">
<div class="row">
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
@ -66,6 +68,8 @@ get_header(); ?>
</div><!-- #primary -->
</div> <!-- .row -->
</div><!-- Container end -->
</div><!-- Wrapper end -->

View File

@ -13,6 +13,8 @@ get_header(); ?>
<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">
<main id="main" class="site-main" role="main">
@ -53,6 +55,8 @@ get_header(); ?>
<?php get_sidebar(); ?>
</div> <!-- .row -->
</div><!-- Container end -->
</div><!-- Wrapper end -->

View File

@ -5849,16 +5849,16 @@ button.close {
.wrapper {
padding: 30px 0; }
#wrapper-hero, #wrapper-static-hero {
#wrapper-hero {
padding: 0px !important; }
.sticky, .gallery-caption, .bypostauthor {
font-size: inherit; }
.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; }
.wp-caption {
@ -5891,6 +5891,9 @@ a.skip-link {
position: relative;
display: block; }
.jumbotron {
margin-bottom: 0px; }
/*!
* Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)

2
css/theme.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@ function understrap_widgets_init() {
register_sidebar( array(
'name' => __( 'Sidebar', 'understrap' ),
'id' => 'sidebar-1',
'description' => '',
'description' => 'Sidebar widget area',
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title">',
@ -19,7 +19,7 @@ function understrap_widgets_init() {
register_sidebar( array(
'name' => __( 'Hero Slider', 'understrap' ),
'id' => 'hero',
'description' => '',
'description' => 'Hero slider area. Place two or more widgets here and they will slide!',
'before_widget' => '<div class="item">',
'after_widget' => '</div>',
'before_title' => '',
@ -29,7 +29,7 @@ function understrap_widgets_init() {
register_sidebar( array(
'name' => __( 'Hero Static', 'understrap' ),
'id' => 'statichero',
'description' => '',
'description' => 'Static Hero widget. no slider functionallity',
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
@ -39,7 +39,7 @@ function understrap_widgets_init() {
register_sidebar( array(
'name' => __( 'Footer Full', 'understrap' ),
'id' => 'footerfull',
'description' => '',
'description' => 'Widget area below main content and above footer',
'before_widget' => '',
'after_widget' => '',
'before_title' => '',

View File

@ -21,6 +21,8 @@ get_header(); ?>
<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">
<main id="main" class="site-main" role="main">
@ -55,6 +57,8 @@ get_header(); ?>
<?php get_sidebar(); ?>
</div><!-- .row -->
</div><!-- Container end -->
</div><!-- Wrapper end -->

View File

@ -16,6 +16,8 @@ get_header(); ?>
<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">
<main id="main" class="site-main" role="main">
@ -39,6 +41,8 @@ get_header(); ?>
<?php get_sidebar(); ?>
</div><!-- .row -->
</div><!-- Container end -->
</div><!-- Wrapper end -->

View File

@ -4,7 +4,7 @@
}
// Reset hero wrapper padding to 0
#wrapper-hero, #wrapper-static-hero {
#wrapper-hero {
padding:0px!important;
}
@ -15,11 +15,11 @@ font-size:inherit;
// Separate sticky wrapper from main content
.wrapper#wrapper-sticky {
border-bottom:1px solid $gray-lighter;
border-bottom:1px solid $gray-light;
}
// Adding some contrast background color to footer full widget
#wrapper-footer-full{
#wrapper-footer-full, #wrapper-static-hero{
background-color: $gray-lighter;
}
@ -65,3 +65,8 @@ margin-bottom: -20px;
position: relative;
display: block;
}
// Reset Jumbotron default margin
.jumbotron {
margin-bottom:0px;
}

View File

@ -10,6 +10,8 @@ get_header(); ?>
<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">
<main id="main" class="site-main" role="main">
@ -50,6 +52,8 @@ get_header(); ?>
<?php get_sidebar(); ?>
</div><!-- .row -->
</div><!-- Container end -->
</div><!-- Wrapper end -->

View File

@ -10,6 +10,8 @@ get_header(); ?>
<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">
<main id="main" class="site-main" role="main">
@ -35,6 +37,8 @@ get_header(); ?>
<?php get_template_part('sidebar'); ?>
<7div><!-- .row -->
</div><!-- Container end -->
</div><!-- Wrapper end -->

View File

@ -5,6 +5,7 @@
<!-- ******************* The Sticky Area ******************* -->
<div class="wrapper" id="wrapper-sticky">
<div class="container">
<div class="row">
<div class="col-md-12">
<?php
$sticky = get_option( 'sticky_posts' );
@ -21,6 +22,7 @@
?>
</div>
</div>
</div>
</div><!-- #wrapper-sticky-->
<?php endwhile; ?>

View File

@ -4,20 +4,8 @@
<div class="wrapper" id="wrapper-footer-full">
<div class="container">
<div class="row">
<div class="col-md-12">
<?php dynamic_sidebar( 'footerfull' ); ?>
</div><!-- .col-md-12 -->
</div><!-- .row -->
</div><!-- .container -->
</div><!-- #wrapper-footer-full -->
<?php endif; ?>