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.

Too much whitespace in footer of gf

  1. Background: I have created a js mass / weight calculator with gravity forms calculation functionality. Because the calculator uses purely javascript, i have completely disabled the submit button - there is no need for it.

    Problem: For some reason, I have way too much whitespace in the footer of my form. See screenshot below for example and below screenshot, the source code when viewing source.

    What is the need for all those 'br' tags in the 'gform_footer top_label' div? Is there a way to remove all this whitespace?

    http://s16.postimage.org/g9d2wuxv9/Screen_shot_2012_08_23_at_00_47_35.png

    Posted 11 years ago on Wednesday August 22, 2012 | Permalink
  2. Those br tags are not being generated by us, they are being generated by your theme because it's using the [raw] shortcode. You have two options. You can either wrap the gravity form shortcode like this:

    [raw]gf shortcode here[/raw]

    Or we can target that info with CSS and hide it, like so:

    [css]
    .gform_footer br, .gform_footer p {display: none}
    Posted 11 years ago on Thursday August 23, 2012 | Permalink