Update old BS3 class .img-responsive to .img-fluid

As per #293 by ErinPo
This commit is contained in:
Jason King 2017-04-23 14:06:09 +09:30 committed by GitHub
parent 60ed4079fd
commit 0a11efded4
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ if ( ! function_exists( 'change_logo_class' ) ) {
*/ */
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-fluid"', $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 ); $html = str_replace( 'alt=""', 'title="Home" alt="logo"' , $html );