There can be a major struggle for those having to work within 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.
Need Assistance customizing your Pardot forms?
Fill out the form below, and a Pardot expert will walk you through it, free.
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.
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 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.
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.