Do you know what a Email subscribe box or Subscription Form is? A box which brings high traffic to your blog. People just put their email address in an ordinary box and then click on the "Subscribe" button and then, they would get all your blog's new material right on their email's Inbox and if you have feedburner's summary feature enabled, they will come to your blog by reading an interesting heading on the reached email.
So today, I am going to tell you 8 ways to show a subscribe box on a blogger blog. These different eight ways will force your blog's visitor to put their email on that ordinary box. Let's see what are the 8 ways!:
8 ways to show a subscribe box:
- Subscribe box from a hyperlinked text.
- Subscribe box from a hyperlinked and floating image.
- Subscribe box on a pop-up box after few second a visitor reach at the page.
- Subscribe box when a visitors goes to exit from a page (Lightbox Popup).
- Subscribe box on sidebar as a widget.
- Subscribe box below every post.
- Subscribe box on a floating hidden frame.
- Subscribe box when a visitor reach at the end of the page.
Let?s describe these 8 ways and also, how to add them in your blogger blog one by one!#1. Subscribe box from a hyperlinked text
Its like hyperlinking a text but instead of a url, we'll put a subscribe box's link on it that will show a nice subscribe box when clicked. When your blog's visitors will click the hyperlinked text, a small beautiful and light weight subscribe box will appear with a subscription teaser and of course! with a subscribe box and a subscribe button. You can use this on your blog's header and hyperlink a text like 'Subscribe Us' so that, when a blog's visitor click the 'Subscribe Us' text, a small box will appear and ask the email of the visitor.
DEMO: See live demo here.Let?s know, how to add it on your blogger blog:
- Go to Blogger Dashboard > Template > Edit HTML
Now, you have to add some CSS (Cascade Styling Script) to make the subscribe box beautiful.
- Search for ']]></b:skin>' on your template.
- Paste the following CSS above ']]></b:skin>':
.newsletter-sm {
background:#fff;
width: 100%;height: 253px;
margin: 0;
padding: 20px;
}
.newsletter-sm form {
padding: 10px;
margin-top: -37px;
}
.newsletter-sm h3 {
color: #FFF;
font-family: algerian;
font-size: 24px;
font-weight: normal;
text-align: center;
padding: 10px;
text-shadow: 2px 2px 2px #000;
margin-top: -18px;
box-shadow: 0px 0px 5px 2px #000;
margin-right: -20px;
position: static;
margin-left: -20px;
margin-bottom: 10px;
background: #009EFF;
}
.text {
font-size: 14px;
color: #FFF;
margin-left: -20px;
padding-bottom: 28px;
margin-right: -20px;
background: #009EFF;
font-family: cursive;
line-height: 20px;
}
.newsletter-sm .fa {
float: left;
padding-left: 16px;
padding-right: 16px;
padding-bottom: 16px;
padding-top: 7px;
font-size: 140px;
}
.newsletter-sm .newsletter-input-sm {border: 0;
padding: 5px 10px;
width: 69%;
float: left;
height: 40px;
font-family: oswald;
color: #555;border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px;}
.newsletter-sm .newsletter-sm-bot{ background: #009EFF url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBVzF-Nz06pqEh_nyFM1xLcZv_ZxSCc1_giWyQxdHDOvvk1885MDvvG-h0QRn9O_OhdbobMznxtGp_FoU7Pl03lLsBtrEkRpLwHJFiDw46iBkZ1CZLkozt8d05naek_R9-3_KHrOr0o30/s1600/bg.png) no-repeat;
margin: 27px -30px 0px;
height: 64px;
padding-left: 16px;
padding-top: 16px;
}
.newsletter-sm .newsletter-button-sm {
float: right;
height: 50px;width:23%
display: inline-block;
text-shadow: 2px 2px 1px #000;
font-size: 16px;
font-family: oswald;
padding: 10px 22px;
position: relative;
color: #fff;
text-align: center;
margin-right: 16px;
background: #009EFF;
border: 1px solid #fff;
cursor: pointer;
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
}
.modalDialog {
position: fixed;
font-family: Arial, Helvetica, sans-serif;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(0,0,0,0.6);
z-index: 99999;
opacity:0;
-webkit-transition: opacity 200ms ease-in;
-moz-transition: opacity 200ms ease-in;
transition: opacity 200ms ease-in;
pointer-events: none;
}
.modalDialog:target {
opacity:1;
pointer-events: auto;
}
.modalDialog:target > div {
margin: 8% auto;
}
.modalDialog > div {
-webkit-transition: all 100ms ease-in;
-moz-transition: all 100ms ease-in;
transition: all 100ms ease-in;
width: 500px;
position: relative;
margin: 5% auto;
background: #fff;
min-height: 200px;
}
h2.signup {
background:#00aa9f;
border-bottom: 1px solid #008d84;
font-weight: normal;
text-align:center;
padding: 10px;
color:#fff;
font-size: 18px;
}
.close {
color: #888!important;
position: absolute;
top: 1px;
right: -40px;
width: 30px;
height: 30px;
line-height: 30px;
text-align: center;
font-size: 16px;
}
.close:hover { text-decoration:none; }
.close:hover { color:#555; }
Now, this is the time to add the main html that is required for this subscribe box.
- Search for '</body>' and above it, paste following code:
<div class="modalDialog" id="signup">
<div>
<a class="close" href="#close" title="Close"><i class="fa fa-times"></i></a>
<div class="signup-container">
<div class="newsletter-sm">
<h3>Subscribe to Newsletter</h3>
<div class="text"><i class="fa fa-envelope"></i><br><div class="texts">Subscribe us to get all our juicy article fastly. You know how and where? Directly on your inbox! Just enter your nice and good looking email id below and click on subscribe button! After that, verify it through the verification email and start learning more!</div></div>
<form action="http://feedburner.google.com/fb/a/mailverify" method="post" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=tntbystc', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true" target="popupwindow">
<div class="newsletter-sm-bot">
<input class="newsletter-input-sm" name="email" placeholder="Enter Your Email" type="text">
<button class="newsletter-button-sm" type="submit">Subscribe</button>
</div>
<input name="uri" type="hidden" value="tntbystc">
</form>
</div>
</div>
</div>
</div>
Customization:
- Replace tntbystc with your feedburner username.
- You can replace text by editing the highlighted code.
How to hyperlink a text to show the subscribe box?
Now, almost everything is done. Whenever you wish to hyperlink a text, so that, the text will show a subscribe box when clicked, you have to use following piece of code:
<a href='#sign-up'>YOUR TEXT HERE</a>
Do you know? You can use this to hyperlink on an image too! Just use below piece of code:
<a href='#signup'><img src='IMAGE URL GOES HERE' alt='IMAGE DESCRIPTION' title='IMAGE DESCRIPTION'/></a>
Done! You can check it by going on your blog and clicking the text or image for which you have used the above code.
Note: This hyperlink can be added multiple times on texts on same page.
#2. Subscribe box from a hyperlinked and floating image
Instead of hyperlinking a text, why not we hyperlink a floating image? This will attract your visitor's eyes too! This time, an floating image will appear at the left-bottom or right-bottom or left-top or right-top of the page. When a visitor click on that image, a nice subscribe box will appear teasing them to put their email in the box!
DEMO: See Live Demo
Let?s know how to add it on your blogger blog:- Same, Go to Blogger Dashboard > Template > Edit HTML
- To make this subscribe box good looking, you have to add some CSS codes. Search for "]]></b:skin>"
- Paste the following code above "]]></b:skin>"
#subscribe-button {
float: left;
position: fixed;
bottom: 5%;
left: 0;
z-index: 999;
}
#subscribe-widget {
display: none;
}
/* Overlay */
#mbt-overlay {
background-color: #000;
}
/* Container */
#mbt-container {
height: 350px!important;
width: 63%!important;
min-height: 350px;
min-width: 500px;
color: #222;
background-color: #fff;
border: 4px solid #ddd;
}
#mbt-container .mbt-data {
padding: 8px;
}
#mbt-container a.mbtCloseImg {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoLW7HcqrwK3v9AsVmDoDBAOX_zGy7PasTQ-UfHuRwc0Bzn5Gz55Gp8HeBEzeW5GJqjRKe_a85S3SwQHJB7FLAQWWjH6c7_UhV-evs3E-s0AJAessKHGCpoaPhWDKtVSa6nVCZ6aUigB3Q/s1600/mbt-close-button.png) no-repeat;
width: 25px;
height: 29px;
display: inline;
z-index: 3200;
position: absolute;
top: -15px;
right: -16px;
cursor: pointer;
}
.subscribeheader {
padding: 5px;
padding-left: 21px;
text-shadow: -3px -2px 5px #000;
box-shadow: 2px 2px 11px 1px #000000;
background: #FF8100;
color: rgba(255, 255, 255, 1);
padding-top: 11px;
border-radius: 11px;
text-rendering: optimizeSpeed;
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
margin-bottom: 30px;
letter-spacing: 4px;
text-align: center;
font-family: monotype corsiva;
border: 2px dashed #FFF;
font-size: 50px;
}
#description {
color: #AAAAAA;
font-family: times New Roman;
font-size: 25px;
font-style: italic;
float:left;
line-height: 34px;
}
#description img {
float: right;
height: 100px;
padding: 0 25px 0 10px;
width: 100px;
}
#mbtfollowForm {
padding: 15px;
}
#mbtfollowForm p {
margin: 0 0 10px;
}
input[type="submit"] {
background: #FA9227;
box-shadow: 2px 2px 1px 1px #838383!important;
width: 25%!important;
padding-left: 0px!important;
margin-left: 17px;
}
#mbtfollowForm input:not([type="checkbox"]) {
width: 67%;
margin-top: 20px;
margin-bottom: 20px;
font-family:oswald;
height:33px;
float:left;
padding: 10px 5px 10px 25px;
border: 1px solid rgb(178, 178, 178);
-webkit-appearance: textfield;
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset;
-moz-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset;
box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset;
-webkit-transition: all 0.2s linear;
-moz-transition: all 0.2s linear;
-o-transition: all 0.2s linear;
transition: all 0.2s linear;
}
#mbtfollowForm input:not([type="checkbox"]):active, #mbtfollowForm input:not([type="checkbox"]):focus {
border: 1px solid rgba(91, 90, 90, 0.7);
background: rgba(238, 236, 240, 0.2);
-webkit-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.9) inset;
-moz-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.9) inset;
box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.9) inset;
}
<!--[if lt IE 7]> #mbt-container a.mbtCloseImg {
background: none;
right: -14px;
width: 22px;
height: 26px;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoLW7HcqrwK3v9AsVmDoDBAOX_zGy7PasTQ-UfHuRwc0Bzn5Gz55Gp8HeBEzeW5GJqjRKe_a85S3SwQHJB7FLAQWWjH6c7_UhV-evs3E-s0AJAessKHGCpoaPhWDKtVSa6nVCZ6aUigB3Q/s1600/hb-close-button.png', sizingMethod='scale');
}
#mbtfollowForm input {
padding: 10px 5px 10px 32px;
width: 93%;
}
#mbtfollowForm input[type=checkbox] {
width: 10px;
padding: 0;
}
<![endif]-->
- Now, to make the floating image appear, search for ?</body>?
- Paste the following chunk of code above ?</body>?
<div id="subscribe-button">
<a class="subscribe" href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlsIReKACmVFQ-wJdRguJ0ZJmesfMKXjimAff9pokn8ImDBbhE_ElxluF98yu23pdJK533PQeqEfkN2s9Q59xICO6u9Uz3nTusVtn0sY-4FRMMA8-G-gmyAyi9ckxMkP1J-z8QKmxP9K8c/s1600/hb-email-icon.png" alt="subscribe" /></a>
</div>
<div id="subscribe-widget">
<div id="mbtfollowForm">
<div class="subscribeheader">Subscribe Us</div>
<div id="description">
<img alt="email" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1Rq-RQlFY15V3KhMXXoDhKRyRAsXT7b-VC-YjRioKSn22r22BeWd0VgYRJqmXgzWx2QHQWasxj1JCRJEd_Kq_VAC9zYAWASNgly7zYnHBtC2r8wTY7EH74G_jNoFM48-3TdQbe2Zrnywc/s1600/hb-email-icon1.PNG">Subscribe to our mailing list to get the updates to your email inbox... We can't wait more to have your email in our subscribers email list. Just put your nice email in below box:</div>
<form
action="http://feedburner.google.com/fb/a/mailverify" method="post" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=tntbystc', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true"
target="popupwindow">
<input name="email" placeholder="Enter Your Email..." required="required"
type="text" />
<input name="uri" type="hidden" value="tntbystc" />
<input name="loc" type="hidden" value="en_US" />
<div class="button">
<input type="submit" value="Subscribe" />
</div>
</form>
</div>
</div>
<script src="https://googledrive.com/host/0B8acxOz46qBZckxsanR6Rm1KTms" type="text/javascript"></script>
<script type="text/javascript">
jQuery(function (a) {
a("#subscribe-button .subscribe").click(function (b) {
a("#subscribe-widget").modal();
return false
})
})
</script>
- Save your template and you?re done!
Customization:
Yeah! Customization on the above code as following:- If you want that image to be displayed in left, then change right to left in above code.
- If you want that image to be displayed in the top of the page, then change bottomwith top.
- If you want to change the text or subscription teaser, then just replace the highlightedcode.
Important Customization:- Change tntbystc with your feedburner username in above code.