How to set the color of the address bar on Carrington mobile theme

Do you want to set the color of the address bar/status bar on your mobile browsers to match your carrington mobile theme color? Here is a simple and effective guide to set the color of the address bar so that when your site is viewed on mobile theme it will look cool like the before and after screenshot example below.

Before setting address bar color of carrington theme
Before setting address bar color

Address bar color carrington mobile theme
After setting address bar color

Steps to set the address bar color on carrington mobile theme

To set the color of the address bar follow 1 to 3 method below

  1. go to theme editor >> appearance
  2. Selec carrington theme
  3. look for function.php file
  4. insert below codes and press save function address_mobile_address_bar() {
    $color = "#008509";
    //this is for Chrome, Firefox OS, Opera and Vivaldi
    echo '';
    //Windows Phone **
    echo '';
    // iOS Safari
    echo '';
    echo '';
    add_action( 'wp_head', 'address_mobile_address_bar' );

Now you are done and if you visit your site on mobile phone it should be showing by now. Please remember there is another method you can use to achieve same result but that method is outdated. The method is to add <meta name="theme-color" content="#ff6600" /> which is a bad practice. Please follow the best practice I mentioned above.

🎵 Want to post your Songs? Contact me HERE

Leave a comment

Top music – Naija Free MP3 UPLOAD AND downLoads

TopHits is a digital music, podcast, and video streaming service that gives you access to millions of songs, Gossips and other content from artists all over the world. Basic functions such as playing music are totally free, but you can also choose to upgrade to Premium.
We are #1 Nigerian latest music streaming at the moment.  There are no premium accounts for artists, and free accounts include unlimited storage, whether you have one song or one thousand.

How to upload a track on

To upload your music on please follow below guides. 

  1. Log in or create a free account on Tophits
  2. After you have created the account on tophits message the admin on WhatsApp  for your account to be upgraded (Your account must be upgraded before you can post a song.)
  3. After your account has been upgraded log in
  4. Click on Upload located closely to your profile picture on menu bar.
  5. Enter your song details(eg. Title, song description, cover or artwork, stream or your mp3, artist name, genre, etc.)
  6. Click submit(Once you are done click on submit and wait for admin approval)

NB: To make admin approval of your song faster on tophits please send direct message notifying him of your new pending track.