Update old BS3 class .img-responsive to .img-fluid
As per #293 by ErinPo
This commit is contained in:
parent
60ed4079fd
commit
0a11efded4
|
@ -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 );
|
||||||
|
|
||||||
|
|
Reference in New Issue