Please note that the snippets in this article will only work for pages using the new and improved page generator, the Thor Rendering Engine. We recommend testing the snippet functionality in case your page was created before 2019, as the two render engines have different code structures in the backend. To migrate your older pages to the new Thor Rendering Engine, you can contact our support team at help@instapage.com.
Open your landing page editor and paste the code in the HTML/CSS-Head section of your page:
1. Target exactly which 2 form fields you would want to align horizontally
Make sure to edit the code and add the correct field numbers in between parentheses and the result will look like this.
2. Target all fields present in the form and align them in two columns
3. Align 3 form fields horizontally
NOTE: The snippets above will work if you are using the inside label setting for your form. If you are using the outside label setting for your form, on top of the code snippets above you need to also add the following snippet to the Javascript - Footer section of your page:
NOTE: You will only see the changes in the live environment, not in the builder.