PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

gf_right_third and Time

  1. theblogbutler
    Member

    How do I remove the "HH" and "MM" under the time field?

    I have a time field in the right row of a 3-column layout, using the 'gf_right_third' css class name and the text below the fields is causing my layout to shift down severely messing up the row alignment.

    Screenshot: http://grab.by/9MYp

    Form: http://variationsstudio.com/test-form/

    Thanks!

    Posted 13 years ago on Saturday April 2, 2011 | Permalink
  2. theblogbutler
    Member

    Here's the code I added to my css to fix it

    /* remove am - pm from Gravity Forms Time field */
    .gfield_time_hour label, .gfield_time_minute label {display:none !important;}
    Posted 13 years ago on Sunday April 3, 2011 | Permalink
  3. danielpettifer
    Member

    instead of using display none try using a text indent of -999 ` /* remove am - pm from Gravity Forms Time field */
    .gfield_time_hour label, .gfield_time_minute label {text-indent: -999px;
    }
    `
    this should keep the spacing but hide the am/pm markers from view

    Posted 13 years ago on Sunday April 3, 2011 | Permalink