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.

How can I make the form fields have rounded corners?

  1. andrew hewinson
    Member

    Hi All, :)

    I would like to make the fields have rounded instead of square corners.
    please see here -
    http://www.waterfrontportmelbourne.com.au/how-can-we-improve
    I would like them to have corners like this -
    http://www.waterfrontportmelbourne.com.au/general-enquiry

    Could you please assist me with this?
    Thank you for your time,
    Regards,
    Andrew

    Posted 13 years ago on Thursday February 2, 2012 | Permalink
  2. In one of your stylesheets you have:

    [css]
    body .gform_wrapper .gform_body .gform_fields .gfield input[type="text"], body .gform_wrapper .gform_body .gform_fields .gfield input[type="email"], body .gform_wrapper .gform_body .gform_fields .gfield input[type="url"], body .gform_wrapper .gform_body .gform_fields .gfield input[type="tel"], body .gform_wrapper .gform_body .gform_fields .gfield input[type="password"], body .gform_wrapper .gform_body .gform_fields .gfield select, body .gform_wrapper .gform_body .gform_fields .gfield textarea {
    color: white;
    }

    Replace that with this:

    [css]
    body .gform_wrapper .gform_body .gform_fields .gfield input[type="text"], body .gform_wrapper .gform_body .gform_fields .gfield input[type="email"], body .gform_wrapper .gform_body .gform_fields .gfield input[type="url"], body .gform_wrapper .gform_body .gform_fields .gfield input[type="tel"], body .gform_wrapper .gform_body .gform_fields .gfield input[type="password"], body .gform_wrapper .gform_body .gform_fields .gfield select, body .gform_wrapper .gform_body .gform_fields .gfield textarea {
    background-color: #fff;
    color: #333;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    }

    Border radius allows for the rounded corners and works in everything except IE7/8 of course since this is a CSS3 property. You can feel free to change any of those values of course.

    Posted 13 years ago on Thursday February 2, 2012 | Permalink
  3. andrew hewinson
    Member

    Hi Rob,
    Thank you so much for your quick response and perfect solution! :)
    Have a great day,
    Regards,
    Andrew

    Posted 13 years ago on Thursday February 2, 2012 | Permalink
  4. No problem Andrew - have a great day yourself!

    Posted 13 years ago on Thursday February 2, 2012 | Permalink

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