Permalink
Browse files

Clean slate

  • Loading branch information...
1 parent ff1ef40 commit e8d10b67cfb7b1d0edb8cbf01b19937426aab29b @obenland committed Sep 1, 2012
Showing with 7 additions and 2 deletions.
  1. +1 −1 functions.php
  2. +1 −1 js/theme-customizer.js
  3. +5 −0 style.css
View
@@ -330,7 +330,7 @@ function the_bootstrap_print_styles() {
if ( 'static' != the_bootstrap_options()->navbar_position ) {
$top_bottom = str_replace( 'navbar-fixed-', '', the_bootstrap_options()->navbar_position );
- $css = "body > .container{margin-{$top_bottom}:68px !important}@media(min-width: 980px){body > .container{margin-{$top_bottom}:58px !important}}";
+ $css = "body > .container{margin-{$top_bottom}:68px;}@media(min-width: 980px){body > .container{margin-{$top_bottom}:58px;}}";
if ( is_admin_bar_showing() AND 'top' == $top_bottom )
$css .= '.navbar.navbar-fixed-top{margin-top:28px;}';
View
@@ -38,7 +38,7 @@ jQuery( function( $ ) {
wp.customize( 'the_bootstrap_theme_options[navbar_position]', function( value ) {
value.bind( function( to ) {
$( '.navbar' ).removeClass( 'navbar-fixed-top navbar-fixed-bottom' );
- $( 'body > .container' ).css( 'margin', '18px auto !important;' );
+ $( 'body > .container' ).css( 'margin', '18px auto' );
if ( 'static' != to ) {
jQuery( '.navbar' ).addClass( to );
var margin = ( 'navbar-fixed-top' == to ) ? 'margin-top' : 'margin-bottom';
View
@@ -273,6 +273,11 @@ table .label {
/* =Bootstrap Adjustments
-------------------------------------------------------------- */
+.navbar-fixed-top,
+.navbar-fixed-bottom {
+ position: fixed;
+}
+
#comment,
.thumbnail {
-moz-box-sizing: border-box;

0 comments on commit e8d10b6

Please sign in to comment.