Merge pull request #295 from typeplus/patch-1
Update old BS3 class .img-responsive to .img-fluid - Thx @typeplus and @ErinPo
This commit is contained in:
commit
781d9ad075
|
@ -67,7 +67,7 @@ if ( ! function_exists( 'change_logo_class' ) ) {
|
|||
*/
|
||||
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( 'alt=""', 'title="Home" alt="logo"' , $html );
|
||||
|
||||
|
|
Reference in New Issue