We want to go from this:
... to that:
/** | |
* Changes the class on the custom logo in the header.php | |
*/ | |
function helpwp_custom_logo_output( $html ) { | |
$html = str_replace('custom-logo-link', 'navbar-brand', $html ); | |
return $html; | |
} | |
add_filter('get_custom_logo', 'helpwp_custom_logo_output', 10); |
<?php | |
function philosophy_button( $attributes ) { | |
$default = array( | |
'type'=>'primary', | |
'title'=>__("Button",'philosophy'), | |
'url'=>'', | |
); | |
$button_attributes = shortcode_atts($default,$attributes); |
@media screen and (-webkit-min-device-pixel-ratio:0) { | |
/* Safari and Chrome */ | |
.flex-direction-nav-featured a{ | |
margin-top: 4%; | |
} | |
/* Safari only override */ | |
::i-block-chrome,.flex-direction-nav-featured a{ | |
margin-top: 5%; | |
} |