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 to get rid of white space where title of form would be.

  1. MaxxForce
    Member

    http://www.apacks.com/doctor-fill-custom-contact-form-gravity

    We are working on our form (link above), and are blown away at the power and flexibility of Gravity Forms. (Very Satisfied). There is the option to not have the form title display on the page. This seems to create white space where the title would be. Is there anyway to eliminate that blank white space where the title would be? In our case the Title would be above the Doctor Fill character. Thanks for any help.

    Posted 12 years ago on Thursday October 20, 2011 | Permalink
  2. Hey there, looking at your code it looks like there is some HTML right before the gravity forms div starts:

    <p style="text-align: justify;"> </p> Getting rid of that will get rid of a substantial amount of space and I believe that is what's causing your issue. It sounds like you might have an empty space in the page's content editor right above the form call in. Let me know if that solves the problem, if you still think it needs some tweaking please reach out. We'd be glad to take another look.

    Posted 12 years ago on Thursday October 20, 2011 | Permalink
  3. MaxxForce
    Member

    Thanks. Just updated. That helped a little. Maybe about 15 pixels worth, but there is still significant white space. I think it's coming from where the Form Title would be. Anyway to edit the Gravity Form code to get rid of that?

    Posted 12 years ago on Thursday October 20, 2011 | Permalink
  4. If you take a look at this screen shot: http://grab.by/b6bA you will see the gravity form wrapper, which has a margin of 10px on the top and bottom and 0px on the left and right. That yellow space there is that top margin of 10px. If you want to overwrite that you can via your stylesheet either at the form's ID level or overwriting all of the forms top margin using gform_wrapper class.

    Posted 12 years ago on Thursday October 20, 2011 | Permalink
  5. MaxxForce
    Member

    Are you talking about editing the forms.ccs file in the gravityforms_1.5.3.zip file, then re-uploading the plugin in to WP after closing the zip again? Or am I way off base? Sorry for confusion.

    Posted 12 years ago on Friday October 21, 2011 | Permalink