How to Style Gravity Form Title and Description

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

Gravity form title and description are present in the header section of the form. To style the them we can use either Styles and Layouts for Gravity Forms plugin or do it directly by coding in CSS file. I will be explaining both the approaches in this article. By the end of this tutorial you will be able to

  • Align form title and description
  • Change font colour
  • Change font size
  • Set margin
  • Set padding

How to Style Form Title using Styles and Layouts plugin

  • The first step is to download and activate the latest version of Styles and Layouts plugin from WordPress plugin repository.Once the plugin is activated go to post/page where you have put your form.

open customizer

  • Now look for the customize option present at admin bar. This bar is only visible if you are logged into WordPress admin.

styles & layouts menu

  • A new customizer sidebar will open on the left side with multiple panels like Menus, Widgets, Header Image. Look for Styles & Layouts Gravity Forms panel. It is usually present at the bottom.
  • Once you are inside this panel you will just see the option to Select Form. Click on this option and select the form you want to style.
  • After selecting the form the settings will be automatically saved .
  • Again navigate to Styles & Layouts Gravity Forms panel. Now there will be multiple form sections which you can customize.
  • Click on Form Title & Description to see all the settings available for this section.

Style title and description

Here you can set

  • Font alignment for title and Description to left, center or right
  • Pick color for title and description using color picker. You can also provide color values in hex codes.
  • Set font size in pixels, em or percentage.
  • Set margin and padding in pixels, em or percentage.

All the styling that you will do using this plugin will be previewed immediately. Once you are done with the changes click on Save and Publish button to make the changes permanent in database.

How to Style Form Title and Description using CSS

Open style.css file of your theme and  add the following lines of code in it

For styling of title:

For styling of description:

Code explanation:

body #gform_wrapper_1 .gform_heading => Since Gravity Form title and description are present in the header section of the form. This code is used to get to the header section of a form whose ID is 1.

.gform_title => This code is used to add the attributes to Gravity Forms title class.

.gform_description => This is used to add attributes to Gravity Forms description class.

Attributes used:

color => It is used to give color to font. It can have hex, RGB or color names as values.

font-size => It specifies the size of font. It can have values in pixels, percentage or em.

text-align => This specifies the position of title and description inside form header. It can have left, center, right and justify as values.

margin => This will add space around title and its nearest HTML element.

padding =>  This will add padding for form title and description.

Here is the video tutorial for Styling Form Title and Description

Drop me a comment if you face any issues while designing Gravity Forms and I will help you out.

Still stuck? Need custom solution? We can help

Perfect

It works perfectly. I am satisfied. 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!!!

Very Useful

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

great!

works great! should be in the gravity basic installation…

Exactly what Gravtiy Forms missed

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

Excellent plugin

Easy and intuitive to use and helps to accelerate workflow.

It Works Perfectly

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

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.

Excellent plugin

Makes the job of styling forms so much easier.

Great Plugin Essential!

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

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.

Super Awesome and Easy to Use

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

I love it

Easy and efficient plugin !

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!

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.

great plugin – easy to use

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

I love it!

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

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

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 Gravity plugin

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

Excellent

Makes styling Gravity Forms EASY.

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.

Good Plugin

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

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.

Very good and beautiful

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

Works Great for Me

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

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.

Just right!

Outstanding! Does just what I wanted.

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.

Easy to use and powerful

Recommend this to anyone struggling to format their forms

Great work!

Thank you guys! extremely helpful!

Should be default Gravity Forms functionality

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

0 Comments

Submit a Comment

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