I can change TOP navigation bar of Android device with this code on my website:
function address_mobile_address_bar() {
$color = "black";
//this is for Chrome, Firefox OS, Opera and Vivaldi
echo '<meta name="theme-color" content="'.$color.'">';
//Windows Phone **
echo '<meta name="msapplication-navbutton-color" content="'.$color.'">';
// iOS Safari
echo '<meta name="apple-mobile-web-app-capable" content="yes">';
echo '<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">';
}
add_action( 'wp_head', 'address_mobile_address_bar' );
But how can I change color of BOTTOM navigation bar of smartphone via website, not Android studio?
Aucun commentaire:
Enregistrer un commentaire