# Hide the Logo on the Login Page

> Removes the logo above the login form entirely for a minimal login screen.

- Type: PHP
- Runs: Run everywhere
- Category: [Login](https://wpide.com/library/category/login/)
- Tags: login, logo, cleanup
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/hide-login-logo/

## Code

```php
add_action( 'login_enqueue_scripts', function () {
    wp_add_inline_style( 'login', '.login h1{display:none;} #login{padding-top:12vh;}' );
} );
```

## Notes

Do not combine with a snippet that sets a custom login logo.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Hide the Logo on the Login Page" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
