Have you created a customized HTML email in Gravity Forms, but you find that the email has a whole lot of white space at the top? Maybe the email has extra line breaks you can’t explain, or you need your table to output close together, and it’s outputting with extra space you can’t explain.
Well, there are two ways to eliminate white space at the top of an email sent in gravity forms: turning off conditional formatting and minifying your HTML. Let’s talk about both:
Learn how to eliminate white space at the top of an email sent in Gravity Forms
Open the Notifications Tab in Gravity Forms

Navigate to Gravity Forms, and choose Notifications from the menu.
Turn Off Conditional Formatting

Scroll to the bottom of the Notifications page, and you’ll see an option to turn off Auto-formatting. Ticking this box tells Gravity forms to stop inserting extra paragraph markers. This might solve the problems with white space at the top of emails sent by Gravity Forms if you if you are inputting HTML code. For example, a customer may need data to be sent in a table or other special format, so you are using the Text tab to customize emailed content. Ticking this box should eliminate those extra paragraph tags. But if it doesn’t, try the next method.
If All Else Fails, Minify your HTML

Copy and paste your HTML code into an HTML minifier like the one at https://minifycode.com/html-minifier/, shown above. The minifier will take your nicely formatted HTML and minify it, or eliminate any extra line breaks and white space.
Use the Minified HTML in your form

Copy the long string of HTML, and paste it into the text tab of the Message field in your Gravity Form.
Is the extra white space gone from your Gravity Forms email?
Both of these methods worked for me when trying to eliminate white space at the top of an email sent in Gravity Forms. Did it work for you? Post a comment below to let me know if it worked, or if you tried something different.
Do you need custom Gravity Forms for your website?
Do you need a Gravity Forms expert to help you capture data from your customers? Want to cut back on the time you spend forwarding sales lead emails on to the right employee? Need help styling your Gravity Form to match the rest of your website? Metro Nova Creative can help. Our website designers are experts in Gravity Form integration, and we can help you develop forms that capture the information you need to increase sales and customer satisfaction. Contact us today.