From d5422b2697779c07397819cb3f32fcff2c29ca20 Mon Sep 17 00:00:00 2001 From: Jessica Jean Suderno Date: Wed, 11 Jan 2017 15:40:44 -0800 Subject: [PATCH] Update Custom Logo Tags *Fixes empty alt tag *Adds title to Logo Signed-off-by: Jessica Jean Suderno --- inc/extras.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/extras.php b/inc/extras.php index b64d1b0..f9c44bf 100644 --- a/inc/extras.php +++ b/inc/extras.php @@ -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; }