How to hide Labels and Sub-labels in Gravity Forms

by | Last updated Jun 16, 2024 | Gravity forms, Styles & Layouts | 0 comments

Overview

Form without labels designed with Gravity Booster.

Hiding labels and sub-labels is a good way to make your form look short and compact. When you hide labels and sub-labels then you can use placeholders in form fields to convey what data should be filled. In such cases, the placeholders should look good and you can do that by using the Gravity Forms Styler plugin.

There are three methods to hide labels and sub-labels in Gravity Forms.

  1. Hide all of them in one click using the free Gravity Booster plugin.
  2. Hide them by changing the setting in each field.
  3. Hide them using Custom CSS

In this article, I will explain all three methods in detail.

Hide Labels and Sub Labels using Styles & Layouts for Gravity Forms.

Gravity Booster Listed on WordPress Plugin Documentary.

Gravity Booster is a free WordPress plugin using which you can design and customize the look of your forms without using any CSS. One of its features is the ability to hide labels and sub-labels in one click.

Step by Step tutorial using Gravity Booster

Hide Labels from Gravity Booster.
  • First, go to the website’s dashboard and then click on Add New under the Plugins menu.
  • Search for the ‘Gravity Booster’ plugin and then install and activate it.
  • Now from your website’s backend go to Forms -> Booster.
  • You now need to select the form for which you want to hide labels and sub-labels.
  • After selecting form you will see plenty of design controls. Open the Field Labels section and then click on the ‘Hide Labels’ setting.
  • Now go to the ‘Sub Labels’ section and then click on the ‘Hide Sub Label’ setting.

The good thing about using the Gravity Booster plugin is that you get a live preview of the changes. This way you will know even before making the changes live whether your form is looking good or not without labels and sub-labels.

If you liked the new design of your form then click on the ‘Save’ button. This makes the design changes live on your website.

Hide Labels and Sub-labels using Gravity Forms settings

Hide labels from Gravity Forms Settings.

This method can be a pain to follow if you have a large form because you need to go through each field manually and hide the labels and sub-labels. Also, you don’t get an immediate live preview so, just in case you don’t like the look of your form you will have to revert all changes manually.

Note: This feature is only available if you are using Gravity Forms v2.4 or later

Here is the Step by Step Tutorial

  • From your WordPress dashboard go to Forms and then edit the form.
  • Now expand the settings section for the field by clicking on it and then go to the Appearance tab.
  • Here you will see the Field Label Visibility and Sub-Label Placement option depending upon which field you are editing.
  • Select the Hidden option under the above settings.

If you face any issue with any of the above methods then let me know in the comments section and I will get back to you with a solution.

Hide Labels & Sub Labels using Custom CSS

You can also hide labels & sub-labels using custom CSS code. Using this method you can hide field sublabels for specific field types as well. Use the following code and paste it into your child theme’s stylesheet or any custom CSS plugin you are using on your website.

Code Explanation

Replace FORMID with the actual form ID.

In the above code, we have multiple selectors for sublabels separated by commas. If you look closely at each selector then you can figure out the element it is targeting.

body #gform_wrapper_FORMID .gform_body .gform_fields .gfield .address_line_1 label

The above selector targets the Address Line 1 sub label which displays the address field. You can remove any selector for which you don’t want to hide a sublabel.

Still stuck? Need custom solution? We can help

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.

Perfect

It works perfectly. I am satisfied. Congratulations!

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

Easy and intuitive to use and helps to accelerate workflow.

I love it

Easy and efficient plugin !

Should be default Gravity Forms functionality

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

Excellent plugin

Makes the job of styling forms so much easier.

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.

Easy to use and powerful

Recommend this to anyone struggling to format their forms

great!

works great! should be in the gravity basic installation…

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.

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.

Great Plugin Essential!

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

Excellent

Makes styling Gravity Forms EASY.

Great work!

Thank you guys! extremely helpful!

Just right!

Outstanding! Does just what I wanted.

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 😉

It Works Perfectly

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

Great Gravity plugin

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

Great stuff!

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

Exactly what Gravtiy Forms missed

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

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!

Works Great for Me

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

Very Useful

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

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.

Super Awesome and Easy to Use

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

Good Plugin

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

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

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

Very good and beautiful

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

0 Comments

Submit a Comment

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