Skip to content

Instantly share code, notes, and snippets.

Last active August 27, 2020 14:08
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Simple Bootstrap template for Mailchimp embedded form with input group
<!DOCTYPE html>
<title>Mailchimp newsletter</title>
<link rel="stylesheet" href="" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
div.mce_inline_error {
color: red;
<div class="container">
<div class="row">
<div class="col-sm-6 col-sm-offset-3">
<form action="YOUR_MAILCHIMP_URL" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div style="position: absolute; left: -5000px;" aria-hidden="true">
<input type="text" name="b_f7fcffd059cde2df667ed71e0_b59497a580" tabindex="-1" value="">
<div class="mc-field-group">
<div class="form-group">
<label for="mce-EMAIL" class="sr-only">Email Address</label>
<div class="input-group">
<input type="email" value="" name="EMAIL" class="required email form-control" id="mce-EMAIL" placeholder="Your email">
<span class="input-group-btn">
<button class="btn btn-default" type="submit">Subscribe</button>
<div id="mce-responses">
<div class="response text-warning" id="mce-error-response" style="display:none"></div>
<div class="response text-success" id="mce-success-response" style="display:none"></div>
<script type='text/javascript' src='//'></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment