Skip to content

Commit

Permalink
fixes for issue #24 (footer)
Browse files Browse the repository at this point in the history
  • Loading branch information
bassjobsen committed Oct 29, 2013
1 parent bd8d766 commit da84ec9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion functions/custom-style.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,12 @@
echo 'html {background:#fff;}';
if($bg_color) {echo 'html{background-color:' .$bg_color.';}';}
echo 'footer.site-footer {background:none!important;}';
//if($ftr_bg_color) echo 'footer.site-footer > .container {background-color:' .$ftr_bg_color.';}';
//else echo 'footer.site-footer > .container {background-color: #ddd;}';
} else {echo 'html {background:#ddd;}';}
echo 'html,footer.site-footer {';


echo 'footer.site-footer '.((get_theme_mod( 'footer_width', 'full-width' ) == 'cont-width')?' .container':'').' {';
if($ftr_bg_color){echo 'background:' .$ftr_bg_color.';';}
if($ftr_text_color){echo 'color:' .$ftr_text_color.';';}
if($ftr_top_border_color){echo 'border-top:1px solid ' .$ftr_top_border_color.';';}
Expand Down
2 changes: 1 addition & 1 deletion functions/skematik-header-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ function skematik_main_navbar() {
function skematik_nav_styles() {
if(get_theme_mod( 'navbar_style' ) == '') { //default
echo '
body { padding: 30px; }
body { padding-top: 30px; }
.navbar { margin-bottom: 30px; }
';
}
Expand Down

0 comments on commit da84ec9

Please sign in to comment.