Am sharing with you again another cool subscription box which comprises of facebook like and send button, and social sharing buttons. In my previous post, i discuss on how to add a stylish subscription box which is very similar to this. This widget will appear at the bottom of your every post, and i have design it to the perfect taste so that it wouldn't affect your blog loading time. To add this subscription box to your blog, simply follow the few steps below.
How To Add This Widget To Your Blog
- Go to your blogger dashboard
- Click on "Design" > "Edit HTML" > Back up your template
- Mark/Tick "Expand Widget Templates"
- Use ctrl F to find the code below
<data:post.body/>
- Paste the following code below the code above
<b:if cond='data:blog.pageType == "item"'>
<style>
form.emailform{
margin:20px 0 0;
display:block;
clear:both;
}
.rbtext{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgk72i8L0X8sgXw78Hx0vlbt0Qe4IWuXetQXOgR5mb7-Mq8TreCSmrIoIf6axLWTcR24-MVAQolJc0JfsRBDmlC6xYnfH5F2_g_DDtzIFwP-9ODBKYxZnd9qzfYbWSp_BfTE3YlueTNGBdz/s28/w2b-mail.png) no-repeat scroll 4px center transparent;
padding:7px 15px 7px 35px;
color:#666;
font-weight:bold;
text-decoration:none;
border:1px solid #D3D3D3;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
-moz-box-shadow: 1px 1px 2px #CCC inset;
-webkit-box-shadow: 1px 1px 2px #CCC inset;
box-shadow: 1px 1px 2px #CCC inset;
}
.rbbutton{
color:#666;
font-weight:bold;
text-decoration:none;
padding:6px 15px;
border:1px solid #D3D3D3;
cursor: pointer;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-goog-ms-border-radius: 4px;
border-radius: 4px;
background: #fbfbfb;
background: -moz-linear-gradient(top, #fbfbfb 0%, #f4f4f4 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fbfbfb), color-stop(100%,#f4f4f4));
background: -webkit-linear-gradient(top, #fbfbfb 0%,#f4f4f4 100%);
background: -o-linear-gradient(top, #fbfbfb 0%,#f4f4f4 100%);
background: -ms-linear-gradient(top, #fbfbfb 0%,#f4f4f4 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FBFBFB', endColorstr='#F4F4F4',GradientType=0 );
background: linear-gradient(top, #fbfbfb 0%,#f4f4f4 100%);
}
#doulike-outer {
-moz-border-radius: 10px 10px 10px 10px;
-webkit-border-radius: 10px 10px 10px 10px;
-goog-ms-border-radius: 10px 10px 10px 10px;
border-radius: 10px;
background: none repeat scroll 0 0 transparent;
border: 1px solid #D3D3D3;
padding: 8px;
-moz-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-ms-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
width:480px;
}
#doulike-outer:hover{
background: none repeat scroll 0 0 #FFF;
-moz-box-shadow: 1px 1px 2px #CCC inset;
-webkit-box-shadow: 1px 1px 2px #CCC inset;
box-shadow: 1px 1px 2px #CCC inset;
}
#doulike-outer td{
padding:3px 0;
}
</style>
<div id='doulike-outer'>
<div id='doulike'>
<table width='100%'>
<tbody>
<span style='font-style: italic; font-size: 30px; font-family: arial,sans-serif, verdana; color:#FF683F;'>Hope You Enjoy This Article..?</span>
<tr>
<td>
<div id='fb-root'/><script src='http://connect.facebook.net/en_US/all.js#xfbml=1'/><fb:like font='' href='' layout='button_count' send='true' show_faces='false' width='300'/>
</td>
</tr>
<tr>
<td align='left'> <p style='color:#666; font-style:italic; margin:0px 0px 5px 0px; '>Subscribe To Get Free Email Updates!</p>
<form action='http://feedburner.google.com/fb/a/mailverify' class='emailform' method='post' onsubmit='window.open('http://feedburner.google.com/fb/a/mailverify?uri=mrqasimashraf', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true' style='margin: 0pt;' target='popupwindow'>
<input name='uri' type='hidden' value='mrqasimashraf'/>
<input name='loc' type='hidden' value='en_US'/>
<input class='rbtext' name='email' onblur='if (this.value == "") {this.value = "Enter your email...";}' onfocus='if (this.value == "Enter your email...") {this.value = ""}' type='text' value='Enter your email...'/>
<input alt='' class='rbbutton' title='' type='submit' value='Submit'/>
</form>
</td>
<td><p style='color:#666; font-style:italic; margin:0px 0px 5px 0px; '>Follow us!</p>
<a href='http://feeds.feedburner.com/mrqasimashraf' rel='nofollow' target='_blank' title='Suscribe to RSS Feed'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizhR4-hQJgvwhlteIHRrY1vZOpZPk0TUP7vNGbBiH24SFtWUzXJAnmZGJOGiKJAi-3WMhe9Nsh9d7oLQcQpW2bP2lLOBdqeAvMV2f6GtRvu77pL44cBwZhsWnGfzUciN6PhukJEFdMA6MZ/s40/w2bRSS+.png'/></a>
<a href='http://twitter.com/mrqasimashraf' rel='nofollow' target='_blank' title='Follow us on Twitter'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAe1fQxG9jGDIuzNL1clDcbiCwlQpa5cV3cZXspznbHFUDm6P2WDUfUtK02LbAFUr2Og7LEz4GR4dSlBgLt-5WoJ9-ken_SsVtArwCEFflMVvmhez7Ea3JCr9OnmKOPVH04pMYAUuIz_HW/s40/w2bTwitter.png'/></a>
<a href='http://www.facebook.com/mrqasimashraf' rel='nofollow' target='_blank' title='Follow us on Facebook'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh6qw-F58cAEMZOp1DvbbL-jqhJTT1NCn5_SRiQN2WoRvb5QEFwadhXDfahrZVj5AqXxE7v4qSUWhFyBTI5Ztg5gIMkQcxCdH3CPQBhE5uBNpRqCAGgTMeTVo9v4tDZvIocPHbA1fMDvXn/s40/w2bFaceBook.png'/></a>
</td>
</tr>
</tbody></table></div></div>
</b:if>
<style>
form.emailform{
margin:20px 0 0;
display:block;
clear:both;
}
.rbtext{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgk72i8L0X8sgXw78Hx0vlbt0Qe4IWuXetQXOgR5mb7-Mq8TreCSmrIoIf6axLWTcR24-MVAQolJc0JfsRBDmlC6xYnfH5F2_g_DDtzIFwP-9ODBKYxZnd9qzfYbWSp_BfTE3YlueTNGBdz/s28/w2b-mail.png) no-repeat scroll 4px center transparent;
padding:7px 15px 7px 35px;
color:#666;
font-weight:bold;
text-decoration:none;
border:1px solid #D3D3D3;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
-moz-box-shadow: 1px 1px 2px #CCC inset;
-webkit-box-shadow: 1px 1px 2px #CCC inset;
box-shadow: 1px 1px 2px #CCC inset;
}
.rbbutton{
color:#666;
font-weight:bold;
text-decoration:none;
padding:6px 15px;
border:1px solid #D3D3D3;
cursor: pointer;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-goog-ms-border-radius: 4px;
border-radius: 4px;
background: #fbfbfb;
background: -moz-linear-gradient(top, #fbfbfb 0%, #f4f4f4 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fbfbfb), color-stop(100%,#f4f4f4));
background: -webkit-linear-gradient(top, #fbfbfb 0%,#f4f4f4 100%);
background: -o-linear-gradient(top, #fbfbfb 0%,#f4f4f4 100%);
background: -ms-linear-gradient(top, #fbfbfb 0%,#f4f4f4 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FBFBFB', endColorstr='#F4F4F4',GradientType=0 );
background: linear-gradient(top, #fbfbfb 0%,#f4f4f4 100%);
}
#doulike-outer {
-moz-border-radius: 10px 10px 10px 10px;
-webkit-border-radius: 10px 10px 10px 10px;
-goog-ms-border-radius: 10px 10px 10px 10px;
border-radius: 10px;
background: none repeat scroll 0 0 transparent;
border: 1px solid #D3D3D3;
padding: 8px;
-moz-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-ms-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
width:480px;
}
#doulike-outer:hover{
background: none repeat scroll 0 0 #FFF;
-moz-box-shadow: 1px 1px 2px #CCC inset;
-webkit-box-shadow: 1px 1px 2px #CCC inset;
box-shadow: 1px 1px 2px #CCC inset;
}
#doulike-outer td{
padding:3px 0;
}
</style>
<div id='doulike-outer'>
<div id='doulike'>
<table width='100%'>
<tbody>
<span style='font-style: italic; font-size: 30px; font-family: arial,sans-serif, verdana; color:#FF683F;'>Hope You Enjoy This Article..?</span>
<tr>
<td>
<div id='fb-root'/><script src='http://connect.facebook.net/en_US/all.js#xfbml=1'/><fb:like font='' href='' layout='button_count' send='true' show_faces='false' width='300'/>
</td>
</tr>
<tr>
<td align='left'> <p style='color:#666; font-style:italic; margin:0px 0px 5px 0px; '>Subscribe To Get Free Email Updates!</p>
<form action='http://feedburner.google.com/fb/a/mailverify' class='emailform' method='post' onsubmit='window.open('http://feedburner.google.com/fb/a/mailverify?uri=mrqasimashraf', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true' style='margin: 0pt;' target='popupwindow'>
<input name='uri' type='hidden' value='mrqasimashraf'/>
<input name='loc' type='hidden' value='en_US'/>
<input class='rbtext' name='email' onblur='if (this.value == "") {this.value = "Enter your email...";}' onfocus='if (this.value == "Enter your email...") {this.value = ""}' type='text' value='Enter your email...'/>
<input alt='' class='rbbutton' title='' type='submit' value='Submit'/>
</form>
</td>
<td><p style='color:#666; font-style:italic; margin:0px 0px 5px 0px; '>Follow us!</p>
<a href='http://feeds.feedburner.com/mrqasimashraf' rel='nofollow' target='_blank' title='Suscribe to RSS Feed'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizhR4-hQJgvwhlteIHRrY1vZOpZPk0TUP7vNGbBiH24SFtWUzXJAnmZGJOGiKJAi-3WMhe9Nsh9d7oLQcQpW2bP2lLOBdqeAvMV2f6GtRvu77pL44cBwZhsWnGfzUciN6PhukJEFdMA6MZ/s40/w2bRSS+.png'/></a>
<a href='http://twitter.com/mrqasimashraf' rel='nofollow' target='_blank' title='Follow us on Twitter'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAe1fQxG9jGDIuzNL1clDcbiCwlQpa5cV3cZXspznbHFUDm6P2WDUfUtK02LbAFUr2Og7LEz4GR4dSlBgLt-5WoJ9-ken_SsVtArwCEFflMVvmhez7Ea3JCr9OnmKOPVH04pMYAUuIz_HW/s40/w2bTwitter.png'/></a>
<a href='http://www.facebook.com/mrqasimashraf' rel='nofollow' target='_blank' title='Follow us on Facebook'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh6qw-F58cAEMZOp1DvbbL-jqhJTT1NCn5_SRiQN2WoRvb5QEFwadhXDfahrZVj5AqXxE7v4qSUWhFyBTI5Ztg5gIMkQcxCdH3CPQBhE5uBNpRqCAGgTMeTVo9v4tDZvIocPHbA1fMDvXn/s40/w2bFaceBook.png'/></a>
</td>
</tr>
</tbody></table></div></div>
</b:if>
- You can edit Hope You Enjoy This Article..?, Subscribe To Get Free Email Updates!, and Follow us! to your desired text.
- To change the colour of "Hope You Enjoy This Article..?" edit #FF683F, with your own desired hex colour. check here for 100's of hex colour.
- Replace http://feedburner.google.com/fb/a/mailverify?uri=mrqasimashrafwith your feedburner link or mrqasimashraf with your feed title.
- Replace mrqasimashraf with your feed title, and the one at the back of http://feeds.feedburner.com/mrqasimashraf.
- Replace http://twitter.com/mrqasimashraf with your twitter profile url.
- Replace http://facebook.com/mrqasimashraf with your facebook profile url.
- Click "SAVE TEMPLATE" when your are done with your editing.
0 comments:
Post a Comment