Skip to content

Hide the Gravity Forms Banner in the WP Admin

Chris Eggleston 1 min read

Symptoms

Since version 2.5, Gravity Forms has made a bunch of UI improvements to the WP Admin, one of which was the addition of a branded header or banner (shown bellow).

If you prefer a more minimalist design or maybe you’re providing web design as a service and prefer that your users not see the Gravity Forms branding for a more white-label approach, you can remove the header image.

How To Fix It

To remove the Gravity Forms Admin banner and image all you need to do is add the code below to your themes functions.php file or to a functionality plugin like WPCodeBox (recommended).

hide-gravityforms-admin-header.phpGist by chriseggGitHub
<?php
//Copy everything below this point

add_action( 'admin_head', function () { ?>
<style>
header.gform-settings-header .gform-settings__wrapper {
	
  /* this will hide the whole thing, including image */
  display: none;
}
</style>
<?php } );

Need More Help?

If you still need help, use the chat or leave a comment below and we’ll get back to you.

Comments

Ask a question or leave a comment

Your email is never shown. For help with a specific form, share what you expected and what happened instead.