How to Style Gravity Forms Placeholder Text

by | Last updated Jun 29, 2024 | Gravity forms, Styles & Layouts | 5 comments

Overview

Placeholder text is useful to let users tell what type of information should be filled in the field like an email field can have a placeholder ‘yourid@gmail.com’. If you have hidden labels or sub-labels for your fields then placeholders can be used as an alternative to labels.

If you are using Gravity Forms then you should have noticed that the default styling of placeholders doesn’t look good. Sometimes the themes also mess up placeholder design resulting in a bad experience for users which can ultimately hurt form conversion.

Methods to Style Gravity Forms Placeholder Text

There are two methods with which you can regain full control over your placeholder styling.

  • Using Gravity Booster plugin
  • With Custom CSS

Both methods come with their own set of advantages. I will guide you to use both of them in this tutorial.

Style Gravity Forms Placeholder with Gravity Booster

Booster for Gravity Forms is the best solution for those who don’t want to use CSS classes or add code in their theme files to design the form. It lets you create a beautiful and responsive design with easy to use settings and controls.

Gravity Booster installed on WordPress website.

Steps to Style Placeholder text with Gravity Booster

  • Install and activate Gravity Booster from the official WordPress plugin repository.
  • Now go to Forms -> Booster.
  • Select the form that you want to design and the page will automatically reload.
  • Once the page is reloaded then navigate to the Placeholders section.

Here you have the following settings.

  • Font Style: This setting lets you make placeholders bold, italic, uppercase, and underline. All you have to do is to click on the appropriate button and the changes will be previewed to you instantly.
  • Font Size: This setting lets you enlarge or decrease the size of the placeholder text. There are separate columns for desktop, tablet, and mobile font sizes. To preview how the placeholders look on different devices, you can click on the desktop, tablet, and mobile icons under the font size setting.
  • Font Color: This setting lets you change the color of placeholders. You can use the color picker to select the color or input the hex code.
Placeholder settings in booster.

Styling placeholders are fairly simple using Gravity Booster but it only has the above settings. If you want to change any other property of placeholders then you have to use custom CSS for that.

Style Gravity Forms Placeholders with Custom CSS

If you plan to use custom CSS then it can be added under Customizer -> Additional CSS. Below I have given the CSS classes that you should target for styling placeholders in Gravity Forms.

Code Explanation

The above code contains  #gform_wrapper_1, where 1 is the form ID which we want to target. You should replace the 1 with your form ID.

We have used the color:pink; in all the CSS selectors. This will change the text color of placeholders to pink color. 

You can add as many CSS properties as font-size, font-weight, margin, padding etc in the selector to style the placeholder text as you need.

Complement Placeholder Text with Icons & Tooltips

Placeholder text is great for giving small instructions like showing the pattern of how the field should be filled. You can further complement the instructions with field icons and tooltips. Both these things will make you form visually more attractive as well provide helpful visual cues to users for filling out the fields.

Icons for Gravity Forms Inputs

Icons for Gravity Forms inputs can give visual cues regarding the field. Let’s say you have an email field then showing an icon with an email icon will not only make it look better but also it also make it immediately clear about the kind of data that should be filled here.

icons for Gravity Forms

You can check the demo form for Icons for Gravity Forms below:

You can also checkout the detailed guide for adding icons in Gravity Forms fields.

Tooltips for Gravity Form Fields

Similar to placeholder text, tooltips can also be used to give information about what kind of data should be filled in the inputs. However, with tooltips you have the advantage of including different types of data like videos, images, tables, links etc.

Tooltip for Gravity Forms.

Tooltips for Gravity Forms let you not only add tooltips to input fields but also the checkbox and radio options. You should get this add-on if you want to improve your form conversion by giving clear and detailed instructions.  The addon also lets you customize the look and feel of tooltip icons as well as instructions.

Still stuck? Need custom solution? We can help

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.

Super Awesome and Easy to Use

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

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

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 Works Perfectly

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

Should be default Gravity Forms functionality

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

Works Great for Me

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

Very good and beautiful

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

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.

Great work!

Thank you guys! extremely helpful!

Great stuff!

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

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 !

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.

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!

Great Plugin Essential!

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

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

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.

Just right!

Outstanding! Does just what I wanted.

Excellent plugin

Makes the job of styling forms so much easier.

Excellent

Makes styling Gravity Forms EASY.

Excellent plugin

Easy and intuitive to use and helps to accelerate workflow.

Good Plugin

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

Great Gravity plugin

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

Very Useful

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

Exactly what Gravtiy Forms missed

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

great!

works great! should be in the gravity basic installation…

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.

Easy to use and powerful

Recommend this to anyone struggling to format their forms

5 Comments

  1. Alex Navas

    This worked great on my form. Thanks for the css code. The only issue I have is that the formatting for the placeholder didn’t take on the textfield (where they write their message on the contact form). All the other input fields worked.

    Reply
  2. Carin Elvhammar

    Any idea on how to change only the placeholder asterisk? In Sweden there should not be a space between the last letter and * (should be: and*)

    Reply
  3. Alistair Mckenzie

    Thanks for that all works great except the Paragraph text field any idea how to colour that one

    Reply
    • Aaron

      I was able to get the paragraph placeholder text to change color using this:

      .gform_wrapper .gform_body .gform_fields .gfield textarea::-webkit-input-placeholder {
      color: #ffffff;
      }

      change #ffffff (white) to whatever color you need.

      Reply
      • Hannah

        Thank you so much. You’re the best!

        Reply

Submit a Comment

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