How to Style Field Labels of Gravity Forms

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

Overview

Beautiful Form with field labels designed.

Field labels are the titles of the fields that you add to your Gravity Form. They can be designed by adding attributes to the ‘gfield_label’ CSS class. Using the Gravity Booster plugin, you can do this without altering any code. By the end of this tutorial, you will be able to

  • Change the font size of labels in pixels, percentages, or em.
  • Set the font color of labels using the color picker, hex codes, or RGB values.
  • Set padding for labels in pixels, percentages, or em.
  • Add Font Awesome icons before labels

How to Style Gravity Forms Field Labels

Styling field labels of the form greatly impacts the form conversion. If the field labels are well designed and match the branding colors of the website then the form will feel part of the page. The labels should be properly aligned, well-spaced, and different from the input field text. Also, there should be proper contrast between the background color of the form and field labels so, they are easily readable.

Gravity Form field labels can be easily styled with the free Gravity Booster plugin and custom CSS. In this tutorial, we will walk you through both methods.

Style Gravity Forms Field Labels with Gravity Booster

Gravity Booster installed on WordPress.

Gravity Booster is a free plugin that lets you style not only field labels but also other aspects of forms like sub-labels, input fields, textarea, sections, submit button, etc.

  • Install and activate the Gravity Booster plugin on your website.
  • Navigate to Forms -> Booster and then to the Styler ->  Field Labels section.

Here you will get the following design controls

Settings to design Gravity Forms field labels in Gravity booster.
  • Hide Labels: If you enable this setting, your field labels will be hidden. If you use this then make sure you are using placeholders and style them as well.
  • Font style: With the controls under this setting you can make the labels bold, italic, uppercase, and underlined.
  • Font Size: The font size for labels can be set to different values for mobile, tablets, and desktops. The supported units are px, em, rem, percentage, vw, and vh.
  • Line Height: If your labels break into multiple lines then with this control you can change the spacing between them. Similar to font size you can set it to different values for different screen resolutions.
  • Font Color: The font color is a color picker and changes the color of the Gravity Forms field labels.
  • Asterisk Color: If you have required fields in your form then Gravity Forms automatically adds a red color asterisk at the end of the field label. You can change the color of this using the color picker.
  • Padding: Setting the padding will add space in and around the label. You can set different values for different sides.

Once you have made the changes, click the Save button to make the changes live.

Save field labels design settings in Gravity Booster.

The good part of Gravity Booster is that you don’t need to do any custom CSS as well and all the changes are previewed live. This way you continue to adjust the setting until you get the desired look.

Style Gravity Forms Field Labels using Custom CSS

The CSS code that should be added to your theme CSS file to make the desired changes is as follows

Code explanation:

  • body #gform_wrapper_1: This code targets the container with form ID ‘1’ present inside the body of the page HTML. Change the ID to the form which you want to target.
  • .gform_body .gform_fields .gfield .gfield_label: This code will get an element with gfield_label  class present inside gfield which is itself located under gform_body class.  So, this is the code to find out the position of field labels inside the page HTML code.

Attributes used:

  • color: This attribute is used to give font color to form field labels.
  • font size: This will set the font size for field labels.
  • padding: This will add padding for field labels.
  • You are free to use any other CSS attributes that you want to add like background color, font family, etc.

Add Fontawesome Icons in Gravity Forms Field Labels

Field Labels with Icons

Adding Fontawesome labels in your Gravity Forms field labels will make them look aesthetically pleasing and modern. With over 700+ icons to choose from you will get the icon complementing each of your form field labels.

Steps to Add Fontawesome Icons in Field Labels

Required plugins to add icons on field labels in Gravity Forms.
  • Install and activate Field Icons for the Gravity Forms add-on.
  • Navigate to Forms -> Booster and then Field Icons -> Label Icons.
  • Here click on any label from the form preview and it will open the control to add an icon for that field.
  • The icon will be immediately previewed in front of the label and after you like the new design then click on the Save button to save it in the database and show it to users in frontend.

Steps to Style Fontwesome Icons in Field Labels

icons added on Gravity Forms field labels with Gravity Booster.

You have already learned the steps to style field labels using the free Gravity Booster plugin. Now you will know how to style the Fontawesome Icons in field labels so, that they present a cohesive design. In the Field Icons -> Label Icons you will get the following design controls

  • Icon Size: This determines the size of the icons. You can change the value of the icon size using the range slider or add the value manually.
  • Icon Left Spacing: This will add space to the left of the icon.
  • Icon Right Spacing: This will add space to the right of the icon.
  • Icon Color: With this control, you change the color of the icon.

Once you are happy with the design changes then click on the Save button to make the changes live.

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!

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.

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.

Excellent plugin

Easy and intuitive to use and helps to accelerate workflow.

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!!!

Excellent

Makes styling Gravity Forms EASY.

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…

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.

Easy to use and powerful

Recommend this to anyone struggling to format their forms

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.

great plugin – easy to use

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

I love it!

I love it

Easy and efficient plugin !

Great Gravity plugin

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

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.

Great work!

Thank you guys! extremely helpful!

Very Useful

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

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 Plugin Essential!

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

Good Plugin

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

Very good and beautiful

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

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!

Super Awesome and Easy to Use

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

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.

Just right!

Outstanding! Does just what I wanted.

Excellent plugin

Makes the job of styling forms so much easier.

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.

Perfect

It works perfectly. I am satisfied. Congratulations!

Works Great for Me

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

Should be default Gravity Forms functionality

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

9 Comments

  1. Gio

    Hello, Thank you this worked great. However, I need just one specific field to be colored RED and the rest of the fields to remain black. Is there a way to isolate one specific field title and not all of them?

    Reply
    • sushil kumar

      Yes, it can be done. For this you need to use the id of the field in CSS. If you can provide a link to the form then I can give you custom code.

      Reply
      • Alex

        Hi Sushil. I also need just one field to be colored red. However, my form is split over 7 pages and I can only see the first page when customizing. Can you help?

        Reply
        • sushil kumar

          Hi Alex,

          It is possible to color only one field red with custom CSS. Please send me the link for the page in which you have added the form and I will send you the custom CSS which you can use.

          https://wpmonks.com/contact-us/

          Reply
  2. Ginger B LaCour

    Hi! Thank you for this great plugin! I would like the total field to show a larger total \ and in a different color on my shop page. Is there a css code to add to the total field in my gf form?

    Reply
    • sushil kumar

      You can use the following CSS code to change the design of Total Field

      .gform_wrapper .ginput_container_total{
      font-size: 22px;
      color: green;
      }

      Reply
    • Katie

      Hi. Wondering if you can help. The price color change works but the total text in green won’t change. The font size changes but not the color, no matter what I try. Ideas? Thanks, Katie

      Reply
  3. aqeel meo

    Sushil Kumar,
    Thank you so much for helping me to change the code.
    I need one more tip How is it possible if we want change Lable color of ID1 form only on two different pages.

    Thanks

    Reply
  4. Tariq Shah

    Thank you soooooooooooooo much. You are great. I was struck for 2 hours but finally, it solves my problem

    Reply

Submit a Comment

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