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.

Trouble with time field colon when I add custom styles

  1. bigshotnow
    Member

    I'm having trouble with the colon between the HH and MM fields in the time field. When I add a custom style to my forms, the colon bumps down below the fields instead of between them. Any advice?

    Here is an example: http://bvp.server298.com/contact-us/schedule-a-consultation/

    Thanks.

    Posted 13 years ago on Friday February 17, 2012 | Permalink
  2. Try dropping this into your theme's stylesheet:

    [css]
    .gform_wrapper .gfield_time_hour, .gform_wrapper .gfield_time_minute, .gform_wrapper .gfield_date_month, .gform_wrapper .gfield_date_day, .gform_wrapper .gfield_date_year {
    width: 75px !important;
    }
    Posted 13 years ago on Friday February 17, 2012 | Permalink
  3. bigshotnow
    Member

    That does the trick! Thanks Rob.

    Posted 13 years ago on Friday February 17, 2012 | Permalink
  4. Sweet action, no problem!

    Posted 13 years ago on Friday February 17, 2012 | Permalink
  5. This doesn't seem to work for me. I've tried every combination I could think of. I'm using v1.6.3.3.4

    Please help.

    http://greenmeadowsfarmwi.com/wordpress/group-bookings-form

    Thanks!

    Posted 13 years ago on Tuesday April 10, 2012 | Permalink
  6. Whew - yours is a bit more involved for sure! Try this out in your theme's stylesheet:

    [css]
    #input_2_11, #input_2_12 {
    float: left;
    }
    .gfield_time_minute.ginput_container {
    float: left;
    }
    .gfield_time_ampm.ginput_container {
    float: left;
    }
    #input_2_11_1, #input_2_12_1 {
    display: inline-block;
    }
    Posted 13 years ago on Tuesday April 10, 2012 | Permalink
  7. Perfect! Thank you!

    And thanks for making me feel better about not figuring it out :-)

    The guys at Headway Themes are always bragging up Gravity Forms and now I see why!

    Posted 13 years ago on Tuesday April 10, 2012 | Permalink
  8. Ha! No problem at all, glad to help out. Thanks for the kind words too, we appreciate it! :)

    Posted 13 years ago on Tuesday April 10, 2012 | Permalink

This topic has been resolved and has been closed to new replies.