There can be a major struggle for those having to work within Account Engagement (Pardot) when it comes to forms. When it comes to customizing the look to fit your organization, making edits to CSS can be a headache. However through understanding what each CSS block means in the form Template, you can create forms that are not only customized but also a perfect fit to your org. This works by utilizing form layout templates that have the < style > tag. Allowing you to customize the look and feel of the form.

General:

The general CSS sections in the layout template of your form will be used to apply across the entire form. When looking to edit general areas in CSS look for #pardot-form at the top of the sections. Editing general layout pieces are how you can customize the overall look for your organization.

Form Errors:

The errors area of the form will be the styling that pops up when something is wrong with the submission the prospect has made. Formatting this can be changing the weight of the font or adjusting padding for where the error is. When in the CSS look for .error to find how your errors in the form are displaying and what you want to change.

Required Fields:

Required will be the marker of the CSS block you will edit to change the appearance of required fields in a form. Required fields are the fields that you deem as the important part for the prospect to fill in such as Email, Name, Phone number, and Job Title.

Field Descriptions:

When searching for the area to edit for field descriptions, you will look for the .description tag in CSS. These descriptions are what is used to describe certain more complex form fields to your prospects.

Form Content Spacing:

Content spacing is possibly one of the most important elements of a form that can be incredibly frustrating to fix if you don’t know what you’re looking for. However, merely find the #pardot-form p on block and that allows you to adjust spacing.

Submit Button:

Customizing CTAs can be a game changer across the board (see our article 5 Things You Should Know About CTAs). So customizing the aesthetics of your submit button on a form is not different. When doing this through the CSS look for #pardot-form p.submit to find the correct section.

Dropdown Fields:

When dealing with a multifaceted question, dropdown fields are often turned to in forms. To edit this commonly used form field search select to find the correct box.

Checkbox and Dependant Fields:

When looking to edit checkbox fields search the term input[type="checkbox"] to make changes. Search .dependentFieldSlave for all dependant field styling. dependant field styling.

Text Area Fields & Text Fields:

For your Text Area Fields styling simply search textarea.standard. But with just Text Fields input for the look and feel, and input.text for the ability to change the width of the text field.

Pro-tip: Your Account Engagement (Pardot) form not matching the style of the overall form? Go to the form template and try unchecking the “Use Default CSS” box. Oftentimes that can be causing the form to pull the wrong CSS.
Editing the CSS of your Account Engagement (Pardot) forms shouldn’t have to be a complicated process. Instead utilize our cheatsheet and hack your way into a better and more beautiful Account Engagement (Pardot) Form.
Questions about hacking your Account Engagement (Pardot) forms? Fill out the form and an Account Engagement (Pardot) expert will reach out the walk you through it free of charge!
Share Article:

Need Assistance?

Fill out the form below and a Salesforce + Account Engagement (Pardot) expert will contact you for a free walk-through.

Current Waitlist For All New Subscribers: 21 Days