Last active
September 5, 2016 04:30
-
-
Save spivurno/2b8eb202d86f39d64787 to your computer and use it in GitHub Desktop.
Gravity Wiz // Gravity Forms // Numbering List Field Rows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Numbering List Field Rows | |
* http://demos.gravitywiz.com/numbering-gravity-forms-list-field-rows/ | |
*/ | |
body .gw-number-rows table.gfield_list { | |
counter-reset: gflistrowcounter; | |
margin-left: -24px; | |
} | |
.gw-number-rows .gfield_list thead tr:before { | |
content:''; | |
} | |
.gw-number-rows .gfield_list tbody tr:before { | |
content: counter(gflistrowcounter); | |
counter-increment: gflistrowcounter; | |
} | |
.gw-number-rows .gfield_list thead tr:before, .gw-number-rows .gfield_list tbody tr:before { | |
display: table-cell; | |
width: 18px; | |
text-align: right; | |
padding-right: 6px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment