By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
DaiLy4mativeDaiLy4mative
  • Home
  • News
    • Business
    • Entertainment
    • Education
    • Sports
    • Health
  • TRAVEL
  • Books
  • Biography
Reading: How to set the color of the address bar on Carrington mobile theme
Share
Notification Show More
Latest News
Ifeanyi Obike Biography, Networth, Business, Education, Contributions To Humanity and More
March 27, 2023
TrumpArrest Trend On Twitter: Factual Information About Former US President Trump Trend On Twitter
March 22, 2023
Video Guide: Hollywood Top Up Vouchers, how they work, where you can buy them, and where your nearest retailer is!
March 20, 2023
What’s Good About HollywoodBets: Factors That Makes Hollywoodbets a consistent favorite among Bettors over the years
March 20, 2023
How Much Does Bad Bunny Charge For a Show
March 20, 2023
DaiLy4mativeDaiLy4mative
Watch TV
  • Information
  • Education
  • Books
  • Business
  • COMPANIES
  • Education
  • Health
  • Lyrics
  • News
  • TRAVEL
  • More
    • BANKS
    • MP3 Download
    • News
    • Uncategorized
Have an existing account? Sign In
Follow US

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

SHARE
- Advertisement -

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.

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.

Related Article Gaming Lenses: All You Need To Know About The XP Pro Lens For Gamers

You Might Also Like

Gaming Lenses: All You Need To Know About The XP Pro Lens For Gamers

French startup Alan Plans to build healthcare super app with €183 million funding that will cater for all questions for your health

6 easy steps to block your IP address from Google Analytics

Why Facebook, Instagram and Whatsapp is down

TWRP Recovery: twrp restore stock recovery, solution and best practices

TAGGED: Carrington Mobile Theme
Eric September 22, 2019
Share this Article
Facebook Twitter Whatsapp Whatsapp Email Print
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Latest Post

  • Ifeanyi Obike Biography, Networth, Business, Education, Contributions To Humanity and More
  • TrumpArrest Trend On Twitter: Factual Information About Former US President Trump Trend On Twitter
  • Video Guide: Hollywood Top Up Vouchers, how they work, where you can buy them, and where your nearest retailer is!
  • What’s Good About HollywoodBets: Factors That Makes Hollywoodbets a consistent favorite among Bettors over the years
  • How Much Does Bad Bunny Charge For a Show

© Daily4mative. All Rights Reserved.

Removed from reading list

Undo
AdBlock Detected
Our site is an advertising supported site. Please whitelist to support our site.
Okay, I'll Whitelist
Welcome Back!

Sign in to your account

Register Lost your password?