How Do I Change the Color of the Top Bar in WordPress?

When you first open up your WordPress site, the top bar is white. You can change the color of this bar by going to Appearance -> Customize and selecting the top bar color from the dropdown menu. However, this color setting will be lost if you close your WordPress site and reopen it. To keep the color of the top bar the same, you’ll need to edit the wp-config.

php file. To do this, go to your WordPress site’s root directory and open up wp-config.php. Near the top of this file, you’ll see a line that reads:.

define(‘WP_CURRENT_SITE’, ‘http://localhost’);
Change this line to read:
define(‘WP_CURRENT_SITE’, ‘http://your-site.com’);
Now save the file and your top bar will stay the color you chose.