Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Clean slate

  • Loading branch information...
commit e8d10b67cfb7b1d0edb8cbf01b19937426aab29b 1 parent ff1ef40
@obenland authored
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
2  functions.php
@@ -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
2  js/theme-customizer.js
@@ -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
5 style.css
@@ -273,6 +273,11 @@ table .label {
/* =Bootstrap Adjustments
-------------------------------------------------------------- */
+.navbar-fixed-top,
+.navbar-fixed-bottom {
+ position: fixed;
+}
+
#comment,
.thumbnail {
-moz-box-sizing: border-box;
Please sign in to comment.
Something went wrong with that request. Please try again.