Merge pull request #213 from jessijean/master - Thx @jessijean
Update Custom Logo Tags
This commit is contained in:
commit
f03f2dda2d
|
@ -66,8 +66,10 @@ if ( ! function_exists( 'change_logo_class' ) ) {
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
function change_logo_class( $html ) {
|
function change_logo_class( $html ) {
|
||||||
|
|
||||||
$html = str_replace( 'class="custom-logo"', 'class="img-responsive"', $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( 'class="custom-logo-link"', 'class="navbar-brand custom-logo-link"', $html );
|
||||||
|
$html = str_replace('alt=""', 'title="Home" alt="logo"' , $html );
|
||||||
|
|
||||||
return $html;
|
return $html;
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue