The Blog Market

  • Home
  • About
  • Resources Directory
  • Advertise With The Blog Market
  • Contact Us

How to Customize Your MailChimp Sidebar Opt-in Form

March 31, 2016 by jennifer Leave a Comment

Last month I shared a quick tutorial on customizing the Jetpack Subscription opt-in form. While I’m a big fan of using this widget, I think we can all agree that MailChimp is the most well-known email marketing service there is. Whether you’re sending a unique newsletter to readers each week or simply sending RSS-based emails, MailChimp makes it extremely easy to send emails that are highly customized to fit your brand.

Aside from your actual MailChimp newsletter, an important element to customize is your opt-in form! Here’s a step-by-step guide on beautifying your opt-in form so that it grabs your readers’ attention but also blends in with your current brand.

How to Customize Your MailChimp Sidebar Opt-in Form

First thing’s first – you need to create a MailChimp account and start a list. We haven’t built a newsletter following through MailChimp yet, so we’ve got zero subscribers. Woo!

When you’ve created your list, click the dropdown arrow next to Stats and choose Signup forms.

How to Customize Your MailChimp Sidebar Opt-in Form

You’ll have your choice of four different signup forms option, but for this specific tutorial we’re going to go with Embedded forms.

How to Customize Your MailChimp Sidebar Opt-in Form

On this page, choose the Naked option which will give you a really basic/boring form so we can customize it from scratch. You’ll see a lot of settings on the left side of the page, so configure those as you wish. Then copy the HTML code for your signup form.

How to Customize Your MailChimp Sidebar Opt-in Form

Now open up your WordPress dashboard, go to Appearance > Widgets, and drag a text widget to your primary sidebar. Paste your HTML code in there, and check out your site. Depending on what your current theme is (I’m using the Genesis Sample Theme), your sidebar should look something like this:

How to Customize Your MailChimp Sidebar Opt-in Form

The first thing we’ll do is put the labels Name and Email inside of the fields instead of above them. Go back to the HTML code in your widget and find this set of codes:

<div class=”mc-field-group”>
<label for=”mce-FNAME”>Name </label>
<input type=”text” value=”” name=”FNAME” class=”” id=”mce-FNAME”>
</div>
<div class=”mc-field-group”>
<label for=”mce-EMAIL”>Email Address </label>
<input type=”email” value=”” name=”EMAIL” class=”required email” id=”mce-EMAIL”>
</div>

And replace it with this:

<div class=”mc-field-group”>
<input type=”text” value=”Name” name=”FNAME” class=”” id=”mce-FNAME”>
</div>
<div class=”mc-field-group”>
<input type=”email” value=”Email” name=”EMAIL” class=”required email” id=”mce-EMAIL”>
</div>

All we’re doing is deleting the labels and adding a “value” to each input field.

Now we’re going to add some CSS! I recommend editing your CSS through the Jetpack plugin, but if you’re experienced enough you can edit your stylesheet directly.

Feel free to copy and paste the codes below but remember to tweak the colors, fonts, sizing, etc. to fit the vibe of your own website. Visit our intro to CSS for a list of styling options.

Customizes Widget Title:

#mc_embed_signup_scroll h2 {
font-size: 15px;
margin-bottom: 20px;
text-transform: uppercase;
letter-spacing: 2px;
text-align: center;
}

Creates a Margin Between Fields:

.mc-field-group {
margin-bottom: 8px;
}

Customizes Input Fields:

input#mce-FNAME, input#mce-EMAIL {
border: 1px solid #ffb2a0;
padding: 12px;
font-size: 14px;
}

Customizes Subscribe Button:

#mc-embedded-subscribe {
background: #ffb2a0;
width: 100%;
font-size: 15px;
letter-spacing: 2px;
margin-top: 8px;
}

Adds Hover Effect to Subscribe Button:

#mc-embedded-subscribe:hover {
opacity:0.7;
}

After you’ve added these customizations, your form should look like this:
How to Customize Your MailChimp Sidebar Opt-in Form

Want to add a background color with padding? Just add this code and change the color code and padding size to fit your website’s style:

#mc_embed_signup {
background: #F9F8F6;
padding: 30px;
}

How to Customize Your MailChimp Sidebar Opt-in Form

Pretty! That’s all there really is to it. In the next few weeks I’ll be sharing a tutorial on how to make your optin form vertical, so keep a lookout for that.

Don’t feel like coding it yourself? Email me at jennifer@earlgreycreative.com for an estimate!

Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Easy Ways to Add Greenery to Your Workspace
  • How to use Pinterest board sections to get organized + stay inspired
  • Friday Favorites 05 | Terrazzo Trend
  • Best Creative Planners for 2020
  • 10 Journal Prompts for Creative Motivation

Recent Comments

    © 2018 The Blog Market · · BACK TO THE TOP