• Skip to primary navigation
  • Skip to main content

GravityWP

The best information about Gravity Forms, GravityView, Gravity Flow and other addons

  • Tutorials
  • Forms
  • Views
  • Workflow
  • PDF
  • Perks
  • Show Search
Hide Search
Jurriaan Koops

Using CSS list in Gravity Forms field description

Jurriaan Koops · Mar 30, 2018 ·

Do you want to use a CSS list in your Gravity Forms description? That can come in handy, but it doesn’t look very nice if the Gravity Forms CSS is enabled.

Download Gravity Forms
  1. How to add a list to a Gravity Form field description with html
  2. Styling the list in the Gravity Form field description with CSS
DEMO

Example of a nicely styled list in a Gravity Form Field description

Let’s take this list:
  • Check if this is done;
  • Check if that is done;
  • And finally check if everything is done.
This is how it looks after applying this tutorial:
  • 4 quarters CSS

  • Fill in a number
  • Gravity Forms - Radio Buttons / Checkbox Images

  • JetSloth - Image Choices

  • Gravity Forms - List

  • Column 1Column 2Column 3Column 4 
  • Gravity Forms - Survey - Stars (rating)

  • GravityWiz - Copy Fields

  • Copy Field

  • Just type something here ;-)
  • Copy Address

  • GravityWiz - Unique ID

  • ovann86 Dropdown List Field

  • Simple dropdownAdvanced dropdown 
    Just click on the '+' sign to add new rows with dropdowns.
  • ovann86 List Field Number

  • US notationEU notationValuta 
  • ovann86 List Field Date

  • Date Format dd/mm/yyyyDate dd-mm-yyyy with IconDefault Date Set yyyy/mm/dd 
  • ovann86 List Field Date

  • Upload 1Upload 2 
  • Slider

  • Perk Word Count

  • Minimal 2 and maximal 6 words.
  • Maximal 144 characters
  • Maximum 1000 characters (default option in GF)
  • GF Survery Ranking

    • First Choice
    • Second Choice
    • Third Choice
    • Fourth Choice
    • Fifth Choice
    • Happy
    • Crazy
    • Not happy
  • GF Survery Likert

  • Strongly disagreeDisagreeNeutralAgreeStrongly agree
  • Strongly disagreeDisagreeNeutralAgreeStrongly agree
    First row
    Second row
    Third row
    Fourth row
    Fifth row
  • Limit Dates

  • Date Format: DD slash MM slash YYYY
    Select your date between today and 1 month ahead. You can only select Tuesdays, Wednesdays and Thursdays in this period. That's what this plugin does, and more. For example you can set fixed dates, ranges from today, etc.
  • Merge tags gravity pdf

  • read-only-fields

  • bar-chart-gravity

  • Not required. We keep you updated about new versions if you fill in your e-mail address here.
  • Please enter a number from 1 to 99.99.
  • Percentage Sign

  • CSS List

    • Check if this is done;
    • Check if that is done;
    • And finally check if everything is done.
  • Gravity Forms Entries in Excel

How to add a list to a Gravity Form field description with html

Add the following html code to the field description field in your Gravity Form.
<ul> 
<li>Check if this is done;</li>
<li>Check if that is done;</li> 
<li>And finally check if everything is done.</li> 
</ul>

Styling the list in the Gravity Form field description with CSS

Add the following CSS code to your theme file or to the page where the Gravity Form is loaded:
.gfield_description li:before {
    content: &quot;✓&quot; !important;
    margin-left: -20px !important;
    margin-right: 10px !important;
}
Note that you can change the “✓” symbol for anything you like. Check http://htmlarrows.com/symbols/ for other symbols to use. Just copy the symbol and replace it after ‘content:’. Note that you maybe have to change the margins to reach perfection, especially when you have multiple rows.
Download Gravity Forms

Gravity Forms

© 2021 - This website is made possible by the wonderful services of
WordPress, GravityForms, GravityView, GravityWiz, Genesis Framework & WP Engine

  • About
  • Hire GF developers
  • Charts
  • Cheat Sheet