How can I align the checkbox with the sentence "I consent" in the Mailchimp embedded form on Webflow?

Published on
September 22, 2023

To align the checkbox with the sentence "I consent" in the Mailchimp embedded form on Webflow, you can follow these steps:

  1. Access the Webflow Designer: Log in to your Webflow account and open the project where your Mailchimp form is inserted.

  2. Locate the Mailchimp embedded form: Identify the section or element that contains the Mailchimp form. This is usually a combination of HTML, CSS, and JavaScript code provided by Mailchimp.

  3. Edit the form's code: Double-click on the element that contains the form to open the code editor. Look for the checkbox's HTML code within the form.

  4. Add a label for the checkbox: Wrap the checkbox input code with a label tag and give it a "for" attribute that matches the ID of the checkbox. For example:

<label for="consentCheckbox"><input type="checkbox" id="consentCheckbox"> I consent</label>
  1. Style the label and checkbox: Add CSS to align the label and checkbox. You can use the Webflow Designer's Style panel or create custom CSS code. Update the CSS code according to your design preferences. For instance, if you want the checkbox to be aligned next to the sentence, you can use the following CSS:
label {  display: inline-flex;  align-items: center;  margin-bottom: 0;}input[type="checkbox"] {  margin-right: 8px;}
  1. Preview and adjust: Save the changes and preview the form in the Webflow Designer. If necessary, make further adjustments to the CSS code until the checkbox aligns properly with the sentence.

Remember to publish your site for the changes to take effect on the live site. By following these steps, you should be able to align the checkbox with the sentence "I consent" in the Mailchimp embedded form on Webflow.

Additional Questions:

  1. How can I customize the appearance of a Mailchimp embedded form in Webflow?
  2. Can I add additional fields to a Mailchimp embedded form on Webflow?
  3. What other form integrations are available in Webflow besides Mailchimp?