This is how your widget looks like. You can customize it completely. (You can see live demo below this post)
Just follow the steps below
Go to Blogger Dashboard > Design > Edit HTML
Click Expand Widget Templates
Don't forget to backup your template!
Search for the following code
]]></b:skin>
Here is the CSS style sheet of the widget. Add it just above ]]></b:skin>
#wid {
-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:600px;
}
#wid:hover{
background: none repeat scroll 0 0 #fff;
-moz-box-shadow: 1px 1px 2px #CCC inset;
-webkit-box-shadow: 1px 1px 2px #b3dbe0 inset;
box-shadow: 1px 1px 2px #b3dbe0 inset;
}
.widtext{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhStKfWpi5AGo-T19jNdUfNYvITjq3TiPYAz9O0UT8j5qRITnO2EcrzjlDYx_HoaCIYzvqBzEAu55iMmZPvNzTzLgwNJMOkn9Vgl3ISdkIeueb7MXIyReVhf1UXMAQGKL_sQygDL4xeSLTE/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;
}
.widbutton{
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%);
}
.widhead{
font-size:30px;
color:#0074d9;
font-family: arial,sans-serif, verdana;
font-style: italic;
}
Now search for
<data:post.body/>
If you find more than 1 occurrences, try the last one
Add the following code just below <data:post.body/>
<b:if cond='data:blog.pageType == "item"'>
<div id="wid">
<table>
<tr>
<td>
<font class="widhead">Do you like this Story?</font>
</td></tr>
<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>
<p style='color:#d98200; font-style:italic; margin:0px 0px 5px 0px; '>Get Free Email Updates Daily!</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=blogging-bytes', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true' style='margin: 0pt;' target='popupwindow'>
<input name='uri' type='hidden' value='blogging-bytes'/>
<input name='loc' type='hidden' value='en_US'/>
<input class='widtext' name='email' onblur='if (this.value == "") {this.value = "Enter your email address...";}' onfocus='if (this.value == "Enter your email address...") {this.value = ""}' type='text' value='Enter your email address...'/>
<input alt='' class='widbutton' title='' type='submit' value='Submit'/>
</form>
</td>
<td>
<p style='color:#082b94; font-style:italic; margin:0px 0px 5px 0px; '><b>Follow us!</b></p>
<a href='http://feeds.feedburner.com/Blogging-Bytes' rel='nofollow' target='_blank' title='Suscribe to RSS Feed'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxI2Kr2J5Wkd_tlYrwdiIPWDaIJQUbJKQJZ_YZjrWkbQl3izar4wjoXvJe9wsW82P6UZ3aGmBXPF6pQisc3XKs5IYIF_5DTQVdBcIDXvoWagW0OJRNbnD1HlGAFCzQZMoiA6g9CpGf-GQ/s1600/1335711551_RSS_02.png' width='32' height='32'/></a>
<a href='http://twitter.com/bloggingbytes' rel='nofollow' target='_blank' title='Follow us on Twitter'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhblBRlhgBP7rWBj5x3co7CrJim_M6I32tqSuEkYnWBAHR0qPSvnU4HP290p0e5EfDk91YpkZMV_HGmhQnV7pbV7D1IXrUEMuGlfS7AjV5lfJU0Z4WVoquddKbpdWZGfzgY0baT34dzIBQ/s1600/1335710923_twitter_02.png' width='32' height='32'/></a>
<a href='http://www.facebook.com/bloggingbytes' rel='nofollow' target='_blank' title='Follow us on Facebook'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyyaVwXp9Su1BUlqoPz9q7P2roSXyedN-1DGqlWJZQ7qBcVCc5guXiOs5LaJ4XOX-VWiJ_cjjcBAXqW35fEXr8eTbMarB_Ybj0REaEtt1C3fyVKpCsax6MjpjQl1OqCxB4x9l-KJa0F0U/s1600/1335710879_facebook_02.png' width='32' height='32'/></a><center>
<p><a href="http://feeds.feedburner.com/blogging-bytes"><img src="http://feeds.feedburner.com/~fc/blogging-bytes?bg=99CCFF&fg=444444&anim=1&label=listeners" height="26" width="88" style="border:0" alt="" /></a></p></center>
</td>
</tr>
</table>
</div>
</b:if>
Customization
Now it is time to customize how the widget looks. From the code above,
Change Do you like this Story? to anything you want to be displayed at the top
Change Follow us! anything you want
Change Get Free Email Updates Daily! to anything you want
Change every occurrences of blogging-bytes to your feed burner Username (For example, if your feed is http://feeds.feedburner.com/anything , then your username is "anything")
Change bloggingbytes to your Twitter username
Change bloggingbytes to your Facebook Username
Now save the template and see the results. You can see the Live Demo below. Don't forget to Follow Us too!
Nice topic bro.
ReplyDeletebut not working for me
When ever I searched for , I saw 4 such tag. As you said, I pasted code below the Last tag. But Unfortunately I cant see any change
I checked four tags, but none of them worked for me
Please give me a reply brother
Thank you! From your code, I just solved a problem I had with adding an opt-in box on my blog. It was this:
ReplyDeleteWhich only adds the opt-in box when the full post is opened up (as opposed to the snippet with the 'read more' button).
Just what I was looking for. Thanks!