Merge pull request #213 from jessijean/master - Thx @jessijean

Update Custom Logo Tags
This commit is contained in:
Holger 2017-01-12 09:20:07 +01:00 committed by GitHub
commit f03f2dda2d
1 changed files with 2 additions and 0 deletions

View File

@ -66,8 +66,10 @@ if ( ! function_exists( 'change_logo_class' ) ) {
* @return mixed
*/
function change_logo_class( $html ) {
$html = str_replace( 'class="custom-logo"', 'class="img-responsive"', $html );
$html = str_replace( 'class="custom-logo-link"', 'class="navbar-brand custom-logo-link"', $html );
$html = str_replace('alt=""', 'title="Home" alt="logo"' , $html );
return $html;
}