---
title: "Change Site Icon Background Color in Fullscreen Mode"
url: "https://wicky.co/change-site-icon-background-color-in-fullscreen-mode/"
type: "post"
published: "2022-12-09T09:45:32-05:00"
modified: "2022-12-09T09:45:32-05:00"
author: "wicky"
---

In this **WordPress tutorial**, I will show you how to change the black background color for the site icon button while in Fullscreen mode. For some reason WordPress has defaulted this background color to black. This can cause problems if your site icon is also dark.

**Timestamps:**

- 0:00 Introduction
- 1:23 WordPress Tutorial Begins

**Code Credit:**
[https://rudrastyh.com/gutenberg/custom-logo-in-fullscreen-mode.html](https://rudrastyh.com/gutenberg/custom-logo-in-fullscreen-mode.html)

**Code Snippets Plugin:**
[https://wordpress.org/plugins/code-snippets/](https://wordpress.org/plugins/code-snippets/)

## PHP Code Snippet

```

					add_action( 'admin_head', 'site_icon_style' );

function site_icon_style(){
	$screen = get_current_screen();
	if( ! $screen->is_block_editor ) {
		return;
	}
	echo '';

}

```
