How to Add Backround Color to Gravity Form Header

by | Last updated Mar 11, 2025 | Gravity forms, Styles & Layouts | 0 comments

Gravity forms header is the section which encompasses title and description. It is possible to add background color to header section. It is also possible to set background for form container. To add background color for header section we need to target ‘gform_heading’ class inside ‘gform_wrapper’ ID.

You can add the following code inside your CSS file

Code Explanation:

body #gform_wrapper_1 .gform_heading => This CSS code tells the browser that we want to add attributes to heading section of Gravity form with ID ‘1’ which is inside html body.

background-color: red => This will set the background color of header to red. You can also give color values in hex or RGB.

Using Styles and Layouts for Gravity Forms Plugin

Styles and Layouts for Gravity Forms is a Free WordPress Plugin that gives you options to customize the design of Gravity Forms. You can add background color to your forms easily with the help of inbuilt color picker. Also will see live preview of your background color selection on the form itself.

open customizer

  • After installing and activating this free WordPress plugin click on the customize option in front end admin bar. If have opened the customizer on the same page as your form then you will be able to live preview your changes.

styles & layouts menu

  • Under Styles & Layouts Gravity Forms panel go to Select form and then choose the form you want to design from drop down menu.

change form header

  • After your form selection is saved you can navigate to Form Header section and change the color using color picker.
  • Click on Save and Publish button to make the changes permanent.

If you make changes using plugin then they will work even if you change or update the themes however if you do it directly in your theme file then they will be lost and you have to do them again.

Here is the video tutorial for changing the background color

If something is still unclear you have any suggestion then drop me a comment below.

Still stuck? Need custom solution? We can help

Great stuff!

I rarely take the time to leave reviews.
With this one I felt compelled because it is so good!

Super Awesome and Easy to Use

Really great plug in that is so easy and simple to use! Thank you for your awesome work!

It Works Perfectly

If you need to give your form a bit of style, this plugin is perfect and easy to use.

Exactly what Gravtiy Forms missed

I use it on every page – that should say it all.

Great Gravity plugin

This is great for all those styling problems that can arise. Easy to use with a gentle learning curve.

Great Plugin Essential!

Very easy to use, exactly what I needed for Gravity Forms!

Save me hours of work

I was skeptical to download…how can it be that easy? But, it was and it truly saved me hours of work to style my Gravity Forms.

It is a amazing gravity form plugin that I was looking for long time.Thanks

Thanks for helping for designing gravity form such an amazing way.

A great find!

This plugin enabled me to exactly what I wanted to with my forms and they look great! It would have been much more painful to customize my forms without it.

Should be default Gravity Forms functionality

Great plugin. My go to solution for Gravity Forms styling.

Much better than forms that come with the themes

Solid plugin, much better than the forms that come with the themes. We’ve used GF to create membership and donation forms, which our clients love. I thought GF was a little pricey but it’s paid for itself in customer satisfaction.

Excellent plugin

Makes the job of styling forms so much easier.

Great work!

Thank you guys! extremely helpful!

I love it

Easy and efficient plugin !

Good Plugin

A bit of a learning curve for this old woman, but does what I need it to do!!

Just what I needed!

Love love love this plugin. Who wants to spend hours using css to style a form?
Not me! I can get my forms looking exactly as I want them to in just a few clicks.

Very Useful

Instead of playing with the style sheets, you can make all the changes directly here.

Excellent

Makes styling Gravity Forms EASY.

Easy to use and powerful

Recommend this to anyone struggling to format their forms

Excellent plugin

Easy and intuitive to use and helps to accelerate workflow.

Very good and beautiful

It worked very good used with divi theme, popup builder and gravity forms!
CongraTulations!

Great Plugin

This plugin is a perfect complement to style Gravity-Forms. The intuitive user interface, integrated into the Customizer, is very well done. PERFECT!!! THANK YOU!!!

Works Great for Me

This app is easy to understand and use and works great for me.

Very Helpful!

Gravity forms are awesome, but notoriously difficult to style. I was struggling for hours to reduce the space between a field, let alone tweak size, color, etc. This plugin is exactly what I was looking for – well done!

Fantastic plugin!

This plugin saved me hours of work. I am not well versed in coding by hand and now I don’t have to figure it out. I styled my Gravity Forms beautifully, the easy way. Worked perfectly. Thank you.

Very convenient, works great!

I’ve had a need to sometimes change the style of Gravity Forms, and this saves time so I don’t have to figure out the CSS styles and manually override them 😉

great!

works great! should be in the gravity basic installation…

Huge time saver

You can accomplish what this plugin does using CSS yourself, but the plugin saves you the time of doing so. This is a simple, effective and efficient way of making your GF look better.

great plugin – easy to use

this plug in was exactly what i needed to help finish the layout of my page.

I love it!

Exactly what I was looking for

I don’t know CSS and was asked to make very specific changes to our Gravity Forms. This did the trick and this tool gave me the flexibility I needed.

Perfect

It works perfectly. I am satisfied. Congratulations!

Just right!

Outstanding! Does just what I wanted.

0 Comments

Submit a Comment

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