Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit

Permalink
Validate in W3C
Browse files Browse the repository at this point in the history
  • Loading branch information
iamguiller committed Jan 20, 2014
1 parent a22def5 commit f778e06
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion assets/css/template.css
Original file line number Diff line number Diff line change
Expand Up @@ -7861,7 +7861,7 @@ input#submit .badge {
background: #333;
}
}
#masthead hgroup {
#masthead .hgroup {
border-bottom: 1px solid #444;
}
#masthead .site-title {
Expand Down
2 changes: 1 addition & 1 deletion assets/less/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ input#submit {
}

#masthead {
hgroup {
.hgroup {
border-bottom: 1px solid #444;
}

Expand Down
4 changes: 2 additions & 2 deletions header.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<div class="row row-offcanvas row-offcanvas-left">
<div id="secondary" class="col-lg-3">
<header id="masthead" class="site-header" role="banner">
<hgroup>
<div class="hgroup">
<?php flat_logo(); ?>
</hgroup>
</div>
<button type="button" class="btn btn-link hidden-lg toggle-sidebar" data-toggle="offcanvas"><i class="fa fa-gear"></i></button>
<button type="button" class="btn btn-link hidden-lg toggle-navigation" data-toggle="collapse" data-target=".navbar-collapse"><i class="fa fa-bars"></i></button>
<nav id="site-navigation" class="navigation main-navigation navbar-collapse collapse" role="navigation">
Expand Down
5 changes: 4 additions & 1 deletion inc/customizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ function flat_get_theme_option( $option_name, $default = '' ) {
* Change Favicon
*/
function flat_favicon() {
echo '<link type="image/x-icon" href="'.flat_get_theme_option('favicon').'" rel="shortcut icon">';
$iconPath = flat_get_theme_option('favicon');
if( !empty($iconPath) ) {
echo '<link type="image/x-icon" href="'.$iconPath.'" rel="shortcut icon">';
}
}
add_action( 'wp_head', 'flat_favicon' );

Expand Down

0 comments on commit f778e06

Please sign in to comment.