The Best Way to Create a 2 Column Pardot Form


In this tutorial, I’ll show you the best way to create a two-column Pardot form. This is a follow up on my original post How to Create a 2 Column Pardot Form. By popular request, this new method includes a way to make certain form fields full width and is fully responsive. All you have to do is add CSS classes to your form fields and copy & paste the CSS provided into Pardot.

Add CSS classes to your form fields

The first step is to add CSS classes to your form fields. We will be using three different classes within the forms:

  1. form-col-1: Add this to form fields that will be in the left column.
  2. form-col-2: Add this to form fields that will be in the right column.
  3. form-col-full: Add this to form fields that you want in a single, full-width column.

To add a class to a form field, navigate to the fields tab of your form, click on the pencil icon to edit the form field. Then, click on the advanced tab and enter the class name in the CSS classes field.

Repeat this process until all form fields have one of the three classes. Here’s an outline of what my sample form looks like, where all the fields are in two columns except for the email field which is full width.

Edit the Form HTML

By default, every form field within your form will be wrapped in paragraph tags (<p></p>). This is not ideal when it comes to creating two-column forms, but it’s easy to update.

Navigate to your layout template and click on the Form tab. Change the paragraph tag to a DIV and close it right after the error message fields, as illustrated below.

Alternatively, replace the ENTIRE content within the form tab with the code below.

Add the CSS

Next, you need to add the following CSS in Pardot. You can add this in the layout template or within the form editor under look and feel > above form.

Here’s what my example form looks like with all the CSS added.


Send them to me via email, send me a tweet @jennamolby, or leave a comment

Related Posts

  • 11/12/2018
    Beautiful Pardot Forms: Styling Checkboxes and Radio Buttons

    Your Pardot forms don’t have to be boring. With a little extra CSS you can create beautiful Pardot forms with customized checkboxes and radio buttons. In this tutorial, I’ll show you how you can style checkboxes and radio buttons within Pardot forms with minimal coding

  • 24/10/2018
    How to Create a Net Promoter Score Survey in Pardot

    Learn how to build a net promoter score (NPS) survey directly in Pardot. I will show you how to create an NPS survey that asks the recipient to give you a score from 1 – 10 using an in-email rating that directs them to a Pardot landing page to collect more information.

  • 10/10/2018
    How To Use UTM Parameters to Capture Lead Source in Pardot Part 2

    In part 1, I covered how to use UTM parameters to capture lead source when you are embedding a Pardot form on a Pardot landing page. In this post, I will cover how to implement the same method using an iFramed form on a web page.

23 comment(s)
  • Yee Khang

    02/08/2018 at 12:01 pm

    Nevermind! I figured it out, it was a setting in the template form. THANKS!

  • Yee Khang

    02/08/2018 at 10:11 am

    Great help!! So happy to have found this page. I had one question, if I'm looking on the landing page on my phone, I only see the email & submit button. Is there a way to make it show or is this something pardot is doing? Thanks for the help!

    • Jenna Molby
      to Yee Khang

      02/08/2018 at 1:20 pm

      Hi Yee, The code is set up to be responsive. Is your landing page responsive? If you're still having trouble, email [email protected] with a link to your landing page and I can take a look. Cheers, Jenna

  • Carolin

    26/07/2018 at 6:36 am

    HI Jenna. How do you put the Submit Button in the middle? Thanks

    • Jenna Molby
      to Carolin

      26/07/2018 at 9:14 am

      Hi Carolin, Adding this CSS should do the trick body form.form p.submit { text-align: center !important; margin:0 !important; } body form.form input[type=submit] { margin-right:0 !important; margin-left:0 !important; } Cheers, Jenna

  • Jasmin

    23/07/2018 at 2:15 am

    When I copy in the CSS by either method it just adds code to the page, it doesn't except it as actual code.

    • Jenna Molby
      to Jasmin

      23/07/2018 at 9:19 am

      Hi Jasmin, Make sure you are wrapping the CSS with the style tags <style> THE CODE HERE </style>. Cheers, Jenna

  • Annaleece

    22/07/2018 at 11:20 pm

    Hi there. Thanks for this however when I paste the above CSS code, it just appears as text. Is there a particular section or additional coding required? Thank you

    • Jenna Molby
      to Annaleece

      23/07/2018 at 9:19 am

      Hi Annaleece, Make sure you are wrapping the CSS with the style tags <style> THE CODE HERE </style>. Cheers, Jenna

Leave A Comment

Your email address will not be published. Required fields are marked *

About Me

Welcome to my blog, where I share, tips, tricks, thoughts and solutions that I learn in my daily life as a sales and marketing professional.


Most Commented
Popular Posts