With ActiveCampaign, you can use the HTML Code block to customize your form with HTML, and you can use CSS to modify elements.
Please note that using HTML and CSS with your form is for advanced users. You need to be comfortable with these languages. If you are not familiar with HTML or CSS, we recommend working with a member of your team who is. There are also several great resources out there where you can learn HTML and CSS such as this one.
Our Customer Experience Team is not able to help you create or troubleshoot any HTML or CSS you add to your form.
You can use the HTML block to add your own HTML to your form. The HTML you add will only be applied to this block, not the entire form.
You may want to use this block to embed links into text, create bulleted lists, format any text in this block, and more.
Please note that the HTML block can only be used on inline forms. Floating box, floating bar, and modal forms do not have the option to add an HTML block.
Add the HTML Code block to your form:
- From the Form Builder, click Fields > Contact Fields.
- Drag the "HTML Code" block to your form layout.
- Click the HTML Block code on your form layout.
- The right pane will display sample text and HTML code. Type or paste your code to this box on the right pane.
As you add the code and text to this box, you will see this new text and formatting applied to the block on your form layout.
You can use the Forms CSS Panel and Inspect Mode to modify visual elements of your form, such as adjusting the width of your submit button, adjusting font type and size, centering text in an element, changing the color of your text, and more. All form types include the custom CSS input panel and Inspector.
Add custom CSS to your form:
- Click the CSS button on the top right toolbar of the Form Builder.
- A custom input panel will appear at the bottom of the Form Builder screen. Hover and click elements on your form to see the element-specific sidebar.
- Click the inspector button then click the element on the form you wish to isolate.
- Add your custom CSS to the custom input panel.
- To exit Inpector mode, click the “Inspector” button again.
- To close the code overlay on your form, click the CSS button on the top of the builder.