clean up part 2

This commit is contained in:
Holger Koenemann 2015-03-23 13:48:34 +01:00
parent d48b630896
commit 7de79326c7
5 changed files with 17 additions and 41 deletions

View File

@ -7264,7 +7264,7 @@ body {
padding: 30px 0; padding: 30px 0;
} }
#wrapper-hero { .wrapper#wrapper-hero {
padding: 0px; padding: 0px;
} }
@ -7272,19 +7272,8 @@ body {
font-size: inherit; font-size: inherit;
} }
.navmenu-fixed-right { .wrapper#wrapper-sticky {
left: auto !important; border-bottom: 1px solid #eeeeee;
}
.navmenu-fixed-right {
left: auto !important;
}
.off-canvas-toggle-link {
float: left;
line-height: 30px;
padding: 10px;
color: #fff;
} }
/*! /*!

2
css/theme.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -15,7 +15,6 @@ get_header(); ?>
<?php get_template_part('hero'); ?> <?php get_template_part('hero'); ?>
<!-- call to featured part -->
<?php get_template_part('sticky'); ?> <?php get_template_part('sticky'); ?>
<div class="wrapper" id="wrapper-index"> <div class="wrapper" id="wrapper-index">

View File

@ -2,29 +2,19 @@
body { padding-top: 50px; } body { padding-top: 50px; }
// Some basic padding for all wrappers // Some basic padding for all wrappers
.wrapper {padding:$grid-gutter-width 0;} .wrapper {
#wrapper-hero {padding:0px;} padding:$grid-gutter-width 0;
}
// Reset hero wrapper padding to 0
.wrapper#wrapper-hero {
padding:0px;
}
// Adding basic Wordpress classes to pass the Wordpress.org tests // Adding basic Wordpress classes to pass the Wordpress.org tests
.sticky, .gallery-caption, .bypostauthor { .sticky, .gallery-caption, .bypostauthor {
font-size:inherit; font-size:inherit;
} }
// Workaround for Jasny off canvas nav on right hand side // Separate sticky wrapper from main content
.navmenu-fixed-right { .wrapper#wrapper-sticky {border-bottom:1px solid $gray-lighter;}
left: auto !important;
}
//Jasny Off-Canvas menu fixed right problems workaround
.navmenu-fixed-right {
left: auto !important;
}
// AdditionL Off-Canvas styling
.off-canvas-toggle-link{
float:left;
line-height:30px;
padding:10px;
color:#fff;
}

View File

@ -1,7 +1,6 @@
<div class="wrapper" id="wrapper-featured"> <!-- ******************* The Sticky Area ******************* -->
<div class="wrapper" id="wrapper-sticky">
<div class="container"> <div class="container">
<div class="col-md-12"> <div class="col-md-12">
<?php <?php
@ -27,10 +26,9 @@
get_template_part( 'content', get_post_format() ); get_template_part( 'content', get_post_format() );
?> ?>
<?php endwhile; wp_reset_query(); ?> <?php endwhile; wp_reset_query(); ?>
</div>
</div> </div>
</div>
</div> </div>