By now, I’m sure you know about our love for the Jetpack plugin for WordPress. It comes with a several easy-to-use features that can make your blog more organized and more likely to attract readers. One of these features is an opt-in form that allows readers to sign up for automatic emails each time you publish a new blog post. The default opt-in form is pretty clean already but if you want to make sure if fits with your brand, you can further customize it using CSS codes. If you need a CSS update, click here! Otherwise, keep reading…

In this tutorial, I’ll share how to customize your Jetpack opt-in form in three steps. I’m beginning with the Genesis Sample Theme (uncustomized) so depending on what theme you’re using, your form will probably have different colors and fonts to start.
To add the opt-in form to your website, first go to Appearance > Widgets. You’ll see a widget called “Blog Subscriptions” on the left of your screen. Drag that over to your Primary Sidebar (it can really go anywhere, but in this tutorial I’ll optimize it for your sidebar).
View your site and you should see this in your sidebar:

First let’s change up the text! Go back to your Widgets and change the text to whatever you’d like it to say. As you can see below, I changed the widget title, removed the optional text, and changed the text of the subscribe button.

Here’s what the opt-in form looks like after those changes:

So, the widget consists of three sections – the widget title, the text area, and the subscribe (GO) button. To style these elements, we’ll have to add some CSS. Assuming you have Jetpack activated, you’ll see the Edit CSS section under Appearance in your WordPress Dashboard. I always recommend that beginners add extra CSS this way, rather than directly into the stylesheet. Adding codes to this page lets you preview and undo changes in case you make any mistakes.
1. Customize the Widget Title
To customize ALL widget titles:
.widget-title {
font-size: 15px;
margin-bottom: 20px;
text-transform: uppercase;
letter-spacing: 2px;
text-align: center;
}
To customize ONLY the subscription box title:
.jetpack_subscription_widget .widget-title {
font-size: 15px;
margin-bottom: 20px;
text-transform: uppercase;
letter-spacing: 2px;
text-align: center;
}
Please note: depending on what theme you’re using, the CSS class of your widget title may be different than mine. Genesis calls the widget title .widget-title, but you may need to use the inspect element tool to find your specific class.
This is how my opt-in form looks after customizing the widget title:

2. Customize the Text Area
Next we’ll customize the text area! I’m going to add some padding to the text area, change the font size, change the border color, and adjust the width. Here are the codes:
#subscribe-email input {
width: 85%;
height: 40px;
padding: 10px 8px;
font-size: 15px;
float: left;
border: 1px solid #ffb2a0;
}
Here is the result:

3. Customize the Submit Button
Lastly, we’re going to make the “go” button fit nicely next to the text area and add some color to it.
#subscribe-submit input {
background: #ffb2a0;
width: 15%;
padding: 0;
border: 1px solid #ffb2a0;
height: 40px;
}
Here is the final result!

Of course, you’ll want to change the colors, font sizes, spacing, etc. to match the style of your own website. Let me know if you have any questions or if you’re interested in any related posts in the future!
Leave a Reply