Saturday, April 28, 2012

Google Translate Widget with Flags For Blogger

The Google Translate Widget for Blogger allows the visitors to translate your site or blog in their own language.
This widget also auto-detect your blog language and then translate it to the readers chosen language.

It supports 12 different languages:
English, French, German, Spanish, Italian, Dutch, Portuguese, Russian, Japanese, Korean, Arabic And Chinese.
google translate for blogger

How To Add The Google Translate Widget To Blogger

Step 1. Go to your Blogger Dashboard >> Layout and click on "Add A Gadget" link

Step 2. From the pop-up window, scroll down and choose HTML/JavaScript

 Step 3. Paste the code below in the empty box:

<script type="text/javascript">
function showHide(shID) {
    if (document.getElementById(shID)) {
        if (document.getElementById(shID+'-show').style.display != 'none') {
            document.getElementById(shID+'-show').style.display = 'none';
            document.getElementById(shID).style.display = 'block';
        else {
            document.getElementById(shID+'-show').style.display = 'inline';
            document.getElementById(shID).style.display = 'none';


 .google_translate img {
margin: 10px 20px 0px 20px;
    height: 24px;
    width: 24px;
        .google_translate:hover img {
        -moz-opacity: 0.30;
        opacity: 0.30;

.more {
    display: none;
a.showLink, a.hideLink {
    text-decoration: none;
    color: #0880C4;
    padding-left: 18px;
    background: transparent('down.gif') no-repeat left; }

a.hideLink {
    background: transparent url('up.gif') no-repeat left;
color: #0880C4;}

a.showLink:hover, a.hideLink:hover {
color: #0880C4;



 <a class="google_translate" href="#" target="_blank" rel="nofollow" title="English" onclick="''+encodeURIComponent(location.href)+'&langpair=auto%7cen&hl=en'); return false;"><img alt="English" border="0" align="absbottom" title="English" height="24" src="" style="cursor: pointer;margin-right:8px" width="24"/></a>

 <a class="google_translate" href="#" target="_blank" rel="nofollow" title="French" onclick="''+encodeURIComponent(location.href)+'&langpair=auto%7cfr&hl=en'); return false;"><img alt="French" border="0" align="absbottom" title="French" height="24" src="" style="cursor: pointer;margin-right:8px" width="24"/></a>

 <a class="google_translate" href="#" target="_blank" rel="nofollow" title="German" onclick="''+encodeURIComponent(location.href)+'&langpair=auto%7cde&hl=en'); return false;"><img alt="German" border="0" align="absbottom" title="German" height="24" src="" style="cursor: pointer;margin-right:8px" width="24"/></a>

 <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Spain" onclick="''+encodeURIComponent(location.href)+'&langpair=auto%7ces&hl=en'); return false;"><img alt="Spain" border="0" align="absbottom" title="Spain" height="24" src="" style="cursor: pointer;margin-right:8px" width="24"/></a><a href="#" id="example-show" class="showLink"
onclick="showHide('example');return false;">More</a>
<div id="example" class="more">
 <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Italian" onclick="''+encodeURIComponent(location.href)+'&langpair=auto%7cit&hl=en'); return false;"><img alt="Italian" border="0" align="absbottom" title="Italian" height="24" src="" style="cursor: pointer;margin-right:8px" width="24"/></a>

 <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Dutch" onclick="''+encodeURIComponent(location.href)+'&langpair=auto%7cnl&hl=en'); return false;"><img alt="Dutch" border="0" align="absbottom" title="Dutch" height="24" src="" style="cursor: pointer;margin-right:8px" width="24"/></a>
      <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Russian" onclick="''+encodeURIComponent(location.href)+'&langpair=auto%7cru&hl=en'); return false;"><img alt="Russian" border="0" align="absbottom" title="Russian" height="24" src="" style="cursor: pointer;margin-right:8px" width="24"/></a>

 <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Portuguese" onclick="''+encodeURIComponent(location.href)+'&langpair=auto%7cpt&hl=en'); return false;"><img alt="Portuguese" border="0" align="absbottom" title="Portuguese" height="24" src="" style="cursor: pointer;margin-right:8px" width="24"/></a>
<br />
 <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Japanese" onclick="''+encodeURIComponent(location.href)+'&langpair=auto%7cja&hl=en'); return false;"><img alt="Japanese" border="0" align="absbottom" title="Japanese" height="24" src="" style="cursor: pointer;margin-right:8px" width="24"/></a>

 <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Korean" onclick="''+encodeURIComponent(location.href)+'&langpair=auto%7cko&hl=en'); return false;"><img alt="Korean" border="0" align="absbottom" title="Korean" height="24" src="" style="cursor: pointer;margin-right:8px" width="24"/></a>

 <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Arabic" onclick="''+encodeURIComponent(location.href)+'&langpair=auto%7car&hl=en'); return false;"><img alt="Arabic" border="0" align="absbottom" title="Arabic" height="24" src="" style="cursor: pointer;margin-right:8px" width="24"/></a>

 <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Chinese Simplified" onclick="''+encodeURIComponent(location.href)+'&langpair=auto%7czh-cn&hl=en'); return false;"><img alt="Chinese Simplified" border="0" align="absbottom" title="Chinese Simplified" height="24" src="" style="cursor: pointer;margin-right:8px" width="24"/></a>
    <p><a href="#" id="example-hide" class="hideLink"
    onclick="showHide('example');return false;">Hide</p>

Step 4. Now click on Save

google translate, blogger widgets, gadgets for blogspot
And you're done! Enjoy (:

Simple Recent Posts Widget for Blogger/Blogspot

The main advantage on this Recent Posts widget is that it will show not only post titles, but also post excerpts or snippets, and it's easy to customize or apply different style on it. To make it fit your own design, you will need to modify the CSS style - you can change the link or background color, the size and color of text/links.

What you can do with this widget:
- display post titles only
- change the number of posts
- change the number of characters of the post snippet/excerpt
- show the post dates

See the screenshot below:

How to add Recent Posts Widget to Blogger

1. Log in to your Blogger Dashboard > go to "Layout" and click the "Add a Gadget" link:

2. From the pop-up window, scroll down and choose HTML/JavaScript from the list...

3. Select & copy the code below the chosen widget and paste it into the HTML/JavaScript content box:

Recent Posts Widget with Snippets

<div id="hlrpsa">
<script type="text/javascript">
function showrecentposts(t){for(var e=0;e<numposts;e++){var n,r=t.feed.entry[e],i=r.title.$t;if(e==t.feed.entry.length)break;for(var s=0;s<;s++)if("alternate"[s].rel){[s].href;break};var a="...",d=r.published.$t,u=d.substring(0,4),o=d.substring(5,7),c=d.substring(8,10),l=new Array;if(l[1]="Jan",l[2]="Feb",l[3]="Mar",l[4]="Apr",l[5]="May",l[6]="Jun",l[7]="Jul",l[8]="Aug",l[9]="Sep",l[10]="Oct",l[11]="Nov",l[12]="Dec","content"in r)var m=r.content.$t;else if("summary"in r)var m=r.summary.$t;else var m="";var w=/<\S[^>]*>/g;if(m=m.replace(w,""),document.write('<div class="rctitle">'),standardstyling&&document.write("<br/>"),document.write(i),1==showpostdate&&document.write(" - "+l[parseInt(o,10)]+" "+c+" "+u),document.write('</div><div class="rcsumm">'),1==showpostsummary)if(standardstyling&&document.write(""),m.length<numchars)standardstyling&&document.write("<i>"),document.write(m),standardstyling&&document.write("</i>");else{standardstyling&&document.write(""),m=m.substring(0,numchars);var g=m.lastIndexOf(" ");m=m.substring(0,g),document.write(m+a),standardstyling&&document.write("")}document.write("</div>"),standardstyling&&document.write("")}standardstyling||document.write('<div class="bbwidgetfooter">'),standardstyling&&document.write(""),document.write(""),standardstyling||document.write("")}
<script type="text/javascript">
var numposts = 5;var showpostdate = true;var showpostsummary = true;var numchars = 100;var standardstyling = true;
<script src=";alt=json-in-script&amp;callback=showrecentposts">
</script></div><a style="font-size: 9px; color: #CECECE; float: right; margin-top: 10px;" href="" rel="nofollow" >Recent Posts Widget</a>
<noscript>Your browser does not support JavaScript!</noscript>
<style type="text/css">
.rctitle a{color:#000000;text-transform:capitalize;font-size:13px;}#hlrpsa {color: #999999; font-size: 12px;}.rcsumm {border-bottom:1px dotted #cccccc; padding-bottom:10px;margin-top:5px;}

Recent Posts Widget Showing Post Titles Only

<div id="hlrpsb">
<script type="text/javascript">
function showrecentposts(t){for(var e=0;e<numposts;e++){var n,r=t.feed.entry[e],i=r.title.$t;if(e==t.feed.entry.length)break;for(var d=0;d<;d++)if("alternate"[d].rel){[d].href;break};var s=r.published.$t,a=s.substring(0,4),o=s.substring(5,7),l=s.substring(8,10),u=new Array;u[1]="Jan",u[2]="Feb",u[3]="Mar",u[4]="Apr",u[5]="May",u[6]="Jun",u[7]="Jul",u[8]="Aug",u[9]="Sep",u[10]="Oct",u[11]="Nov",u[12]="Dec",standardstyling||document.write(""),document.write('<div class="rctitles2">'),standardstyling&&document.write(""),document.write(i),standardstyling&&document.write(""),1==showpostdate&&document.write(" - "+l+" "+u[parseInt(o,10)]+" "+a),standardstyling||document.write("</div>"),document.write("</div>"),standardstyling&&document.write("")}standardstyling||document.write('<div class="bbwidgetfooter">'),standardstyling&&document.write(""),document.write(""),standardstyling||document.write("/div")}
<script type="text/javascript">var numposts = 10;var showpostdate = false;var standardstyling = true;</script>
<script src=""></script></div><a style="font-size: 9px; color: #CECECE; float: right; margin-top: 10px;" href="" rel="nofollow" >Recent Posts Widget</a>
<noscript>Oops! Make sure JavaScript is enabled in your browser.</noscript>
<style type=text/css>
#hlrpsb a {color: #000000;font-size:13px;text-transform:capitalize;}.rctitles2 {padding-bottom:10px;margin-bottom:10px;border-bottom: 1px dotted #cccccc;}

How to customize the recent posts widget:

  • To set how many posts to display, change the 5 value for the recent posts widget with snippets and the 10 for the recent posts widget with post titles only.
  • If you want to display the post dates, change "false" to "true".
  • The recent posts widget with summary will display 100 characters; if you want more or less characters, change the "100" value.
  • To change the color of the links, modify the values in blue and for the font size, the values violet.
  • To change the color of the posts snippets modify the values in green and the values in orange for the font size.
  • Replace the text with your URL.
4. Save your widget... and that's it. Enjoy!

Thursday, April 26, 2012

A Beautiful jQuery Drop-Down Menu For Blogger Blogspot

Alright, this time, we are going to make a stylish and simple jQuery drop down menu. The main objective is to make it as simple as possible, with some little jQuery effect and easy to customize/ apply different style on it. To style it into your own design, you just have to modify the a tag CSS style. You can change colors or put background images, or the size and color of text.
jquery menu, menu blogger

How to Add jQuery Drop-Down menu in Blogger

Step 1. Log in to your Blogger account and go to Template - Edit HTML

Step 2. Click anywhere inside the code area and press the CTRL + F keys to open the search box

Step 3. Type or paste this tag inside the search box and hit Enter to find it:
Step 4. Add the following CSS just above ]]></b:skin>
#jsddm {
height: 40px;
margin: 0;
overflow: visible;
z-index: 2;
padding: 15px;
#jsddm li {
float: left;
list-style: none;
font: 12px Tahoma, Arial;
#jsddm li a {
display: block;
white-space: nowrap;
margin:1px 3px;
border: 1px solid #AAAAAA;
background: #cccccc;
background: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#cccccc));
background: -moz-linear-gradient(top, #ebebeb, #cccccc);
padding: 5px 10px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
text-shadow: #ffffff 0 1px 0;
color: #363636;
font-size: 15px;
font-family: Helvetica, Arial, Sans-Serif;
text-decoration: none;
vertical-align: middle;
#jsddm li a:hover {
background: #C8C8C8;
#jsddm li ul {
margin: 0;
padding: 0;
position: absolute;
visibility: hidden;
border-top: 1px solid white;
#jsddm li ul li {
float: none;
display: inline;
#jsddm li ul li a {
width: auto;
background: #CAE8FA;
#jsddm li ul li a:hover {
background: #A3CEE5;

Step 5. Find this tag:
Step 6. Add this script right above/before it:
<script src='' type='text/javascript'/>
  <script type='text/javascript'>
var timeout    = 500;
  var closetimer = 0;
  var ddmenuitem = 0;
function jsddm_open()
  {  jsddm_canceltimer();
  ddmenuitem = $(this).find('ul').css('visibility', 'visible');}
function jsddm_close()
  {  if(ddmenuitem) ddmenuitem.css('visibility', 'hidden');}
function jsddm_timer()
  {  closetimer = window.setTimeout(jsddm_close, timeout);}
function jsddm_canceltimer()
  {  if(closetimer)
  {  window.clearTimeout(closetimer);
  closetimer = null;}}
  {  $('#jsddm > li').bind('mouseover', jsddm_open)
  $('#jsddm > li').bind('mouseout',  jsddm_timer)});
document.onclick = jsddm_close;
Step 7. Hit the "Save Template" button to save the changes.

Step 8. Now let's add the HTML structure of the menu: Go to Layout > click on "Add a gadget" link

Step 9. Choose HTML/JavaScript from the pop-up window

Step 10. Paste the following code in the empty box:
<ul id="jsddm">
  <li><a href="#">Home</a>
  <li><a href="#">Link 1</a>
  <li><a href="#">Drop 1-1</a></li>
  <li><a href="#">Drop 1-2</a></li>
  <li><a href="#">Drop 1-3</a></li>
 <li><a href="#">Link 2</a>
  <li><a href="#">Drop 2-1</a></li>
  <li><a href="#">Drop 2-2</a></li>
 <li><a href="#">Link 3</a>
  <li><a href="#">Drop 3-1</a></li>
  <li><a href="#">Drop 3-2</a></li>
  <li><a href="#">Drop 3-3</a></li>
  <li><a href="#">Drop 3-4</a></li>
 <li><a href="#">Link 4</a></li>
  <li><a href="#">Link 5</a></li>
  <li><a href="#">Link 6</a></li>
Note : Change the titles and replace the # symbol with the URL address of each of your links

Step 11. Click the "Save" button.

- if your menu is on the sidebar, or footer, just drag it to your page header and click Save again.
- if drop down links are not showing, do the following:

Go back to Template > Edit HTML and search (CTRL + F) this code:
<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
Change 1 with 3 and no with yes like this:
<b:section class='header' id='header' maxwidgets='3' showaddelement='yes'>
Save the Template.

And again, go to Layout and drag the menu immediately below the header

Click the "Save Arrangement" on the upper right side and that's it!

Here you can see the DEMO.

Wednesday, April 18, 2012

How to Add Emoticons/Smileys in Blogger Comments

Emoticons or smiley faces are a great way to make comments more interesting and fun, so it's a pity that Blogger doesn't support them. In this tutorial, we will go through some simple steps to add these cool emoticons called Kolobok in Blogger/Blogspot comments, so that you and your blog visitors will be able to have an enjoyable time together.

UPDATE: Now available for threaded commenting system too!
emoticons in blogger, kolobok smileys, threaded comments

Adding Kolobok Emoticons or Smileys in Blogger Comments

Step 1. Log in to your Blogger account and go to 'Template', then click the 'Edit HTML' button:

Step 2. Click anywhere inside the code area and press the CTRL + F keys to open the search box

Step 3. Search (CTRL + F) for this tag:

Step 4. Now pay attention which code you should use. If your comments have no reply button, then you are using the previous commenting system, otherwise look for the threaded comments codes:

a) Use this script for previous commenting system with comments that have no reply function:
<script type='text/javascript'>
function replaceText(){if(!document.getElementById){return;}
bodyText = document.getElementById("smileys");
theText = bodyText.innerHTML;
theText = theText.replace(/:\)\)/gi, "<img src=''/>");
theText = theText.replace(/=d&gt;/gi, "<img src=''/>");
theText = theText.replace(/:d/gi, "<img src=''/>");
theText = theText.replace(/:p/gi, "<img src=''/>");
theText = theText.replace(/:\(\(/gi, "<img src=''/>");
theText = theText.replace(/:\)/gi, "<img src=''/>");
theText = theText.replace(/:\(/gi, "<img src=''/>");
theText = theText.replace(/:-\?/gi, "<img src=''/>");
theText = theText.replace(/d\(/gi, "<img src=''/>");
theText = theText.replace(/:-o/gi, "<img src=''/>");
theText = theText.replace(/:-f/gi, "<img src=''/>");
theText = theText.replace(/:-ss/gi, "<img src=''/>");
theText = theText.replace(/b-\(/gi, "<img src=''/>");
theText = theText.replace(/h-\(/gi, "<img src=''/>");
theText = theText.replace(/g-\)/gi, "<img src=''/>");
theText = theText.replace(/5-\p/gi, "<img src=''/>");
theText = theText.replace(/y-\)/gi, "<img src=''/>");
theText = theText.replace(/c-\)/gi, "<img src=''/>");
theText = theText.replace(/s-\)/gi, "<img src=''/>");
theText = theText.replace(/d-\)/gi, "<img src=''/>");
theText = theText.replace(/w-\)/gi, "<img src=''/>");
theText = theText.replace(/:-\h/gi, "<img src=''/>");
theText = theText.replace(/:X/gi, "<img src=''/>");
theText = theText.replace(/:\-\*/gi, "<img src=''/>");
theText = theText.replace(/=\)\)/gi, "<img src=''/>");
bodyText.innerHTML = theText;
b) Script for threaded commenting system with comments that have the reply function:
<script type='text/javascript'>
a=document.getElementById('comment-holder');if(a){b=a.getElementsByTagName("p");for(i=0;i<b.length;i++){if(b.item(i).getAttribute('CLASS')=='comment-content'){_str=b.item(i).innerHTML.replace(/:\)\)/gi,"<img src='' alt='' class='smiley'/>");_str=_str.replace(/=d&gt;/gi,"<img src='' alt='' class='smiley'/>");_str=_str.replace(/:d/gi,"<img src='' alt='' class='smiley'/>");_str=_str.replace(/:p/gi,"<img src='' alt='' class='smiley'/>");_str=_str.replace(/:\(\(/gi,"<img src='' alt='' class='smiley'/>");_str=_str.replace(/:\)/gi,"<img src='' alt='' class='smiley'/>");_str=_str.replace(/:\(/gi,"<img src='' alt='' class='smiley'/>");_str=_str.replace(/:-\?/gi,"<img src='' alt='' class='smiley'/>");_str=_str.replace(/d\(/gi,"<img src='' alt='' class='smiley'/>");_str=_str.replace(/:-o/gi,"<img src='' alt='' class='smiley'/>");_str=_str.replace(/:-f/gi,"<img src='' alt='' class='smiley'/>");_str=_str.replace(/:-ss/gi,"<img src='' alt='' class='smiley'/>");_str=_str.replace(/b-\(/gi,"<img src='' alt='' class='smiley'/>");_str=_str.replace(/h-\(/gi,"<img src='' alt='' class='smiley'/>");_str=_str.replace(/g-\)/gi,"<img src='' alt='' class='smiley'/>");_str=_str.replace(/5-\p/gi,"<img src='' alt='' class='smiley'/>");_str=_str.replace(/y-\)/gi,"<img src='' alt='' class='smiley'/>");_str=_str.replace(/c-\)/gi,"<img src='' alt='' class='smiley'/>");_str=_str.replace(/s-\)/gi,"<img src='' alt='' class='smiley'/>");_str=_str.replace(/d-\)/gi,"<img src='' alt='' class='smiley'/>");_str=_str.replace(/w-\)/gi,"<img src='' alt='' class='smiley'/>");_str=_str.replace(/:-\h/gi,"<img src='' alt='' class='smiley'/>");_str=_str.replace(/:X/gi,"<img src='' alt='' class='smiley'/>");_str=_str.replace(/:\-\*/gi,"<img src='' alt='' class='smiley'/>");_str=_str.replace(/=\)\)/gi,"<img src='' alt='' class='smiley'/>");b.item(i).innerHTML=_str;}}}
Note: ignore the next 5-8 steps if you have threaded comments!

Step 5. Find this code snippet:
<b:loop values='data:post.comments' var='comment'>
Step 6. Paste the following line just above it:
<div id='smileys'>
Step 7. Find the following tag and look carefully, it should be somewhere below the code from step 5:
Step 8. Paste the below div tag just AFTER it:
Step 9. Now find this code:

a) For previous commenting system:
Note: if you'll find it like 4 times, stop at the second one (press Enter 2 times).

b) For threaded commenting system find the second (2nd) and fourth (4th) occurrence of the line below:
<a expr:href='data:post.commentFormIframeSrc' id='comment-editor-src'/>
Step 10. Just AFTER the line above, add this code:
<b:if cond='data:blog.pageType == &quot;item&quot;'><script type='text/javascript'>
function moreSmilies() {
    document.getElementById('smiley-more').style.display = 'inline';
    document.getElementById('smiley-toggle').innerHTML = '<a href="javascript:lessSmilies()">Hide Emoticons</a>';
function lessSmilies() {
    document.getElementById('smiley-more').style.display = 'none';
    document.getElementById('smiley-toggle').innerHTML = '<a href="javascript:moreSmilies()">Show Emoticons</a>';
<div class='emoticons'>
<span id='smiley-more' style='display: none;'>
<div class="itemo"><img src=''/><div class="emos">:)</div></div>
<div class="itemo"><img src=''/><div class="emos">:(</div></div>
<div class="itemo"><img src=''/><div class="emos">:))</div></div>
<div class="itemo"><img src=''/><div class="emos">:((</div></div>
<div class="itemo"><img src=''/><div class="emos">=))</div></div>
<div class="itemo"><img src=''/><div class="emos">=D&gt;</div></div>
<div class="itemo"><img src=''/><div class="emos">:D</div></div>
<div class="itemo"><img src=''/><div class="emos">:P</div></div>
<div class="itemo"><img src=''/><div class="emos">:-O</div></div>
<div class="itemo"><img src=''/><div class="emos">:-?</div></div>
<div class="itemo"><img src=''/><div class="emos">:-SS</div></div>
<div class="itemo"><img src=''/><div class="emos">:-f</div></div>
<div class="itemo"><img src=''/><div class="emos">d(</div></div>
<div class="itemo"><img src=''/><div class="emos">:-*</div></div>
<div class="itemo"><img src=''/><div class="emos">b-(</div></div>
<div class="itemo"><img src=''/><div class="emos">h-(</div></div>
<div class="itemo"><img src=''/><div class="emos">g-)</div></div>
<div class="itemo"><img src=''/><div class="emos">5-p</div></div>
<div class="itemo"><img src=''/><div class="emos">y-)</div></div>
<div class="itemo"><img src=''/><div class="emos">c-)</div></div>
<div class="itemo"><img src=''/><div class="emos">s-)</div></div>
<div class="itemo"><img src=''/><div class="emos">d-)</div></div>
<div class="itemo"><img src=''/><div class="emos">w-)</div></div>
<div class="itemo"><img src=''/><div class="emos">:-h</div></div>
<div class="itemo"><img src=''/><div class="emos">:X</div></div>
<span id='smiley-toggle'><a href='javascript:moreSmilies()'>Show Emoticons <img src=''/></a></span>
Step 11. Finally, find this tag:
Step 12. Add the CSS code just above ]]></b:skin>
.itemo{float:left;font-size:11px;height:30px;line-height:1.2;padding:10px 0;text-align:center;width:85px;}
span#smiley-toggle{clear:both;padding:15px 10px;float:left;font:bold 14px 'Oswald', sans-serif;}
span#smiley-toggle a{text-decoration:none;}
#smiley-toggle img{vertical-align:bottom;}
Step 13. Save the changes by clicking the 'Save Template' and you're done adding emoticons in Blogger comments. Enjoy!

How To Add or Change Favicon on Blogger Blogspot

Favicon (Favorites Icon) is the small picture (usually 16px x 16px in size) you see beside some site's name in your browser's address bar. Having your own Favicon with a nice graphical reminder of your site is a good way to grab visitors attention. Blogger users can add a custom favicon on their blogs by going to the 'Layout' section and click on the 'Edit' link on the "Favicon" element.

"For many bloggers, having a custom favicon (the tiny image displayed in your browser’s window or tab) is the finishing touch that ties together the design and identity of a great looking blog. Today, we're pleased to announce that Blogger in Draft users can now add a customized favicon to their blog." - Blogger in Draft

How To Add a Favicon to Your Blogger Blog

Step 1. Log into your Blogger's Dashboard, then go to the "Layout" and click on the "Add a Gadget" link

Step 2. Click on the "Edit" link on the "Favicon" setting above the navbar element.

Step 3. A pop-up window will open where you can search for an image in your hard drive that will replace the default Favicon image. Click on the "Browse" button and search for your favicon (please note that it should have the .ico extension), then click on the "Save" button.

Step 4. Now you should see your own Favicon instead of the Blogger's default favicon.

Please keep in mind that it might take some time until your new Favicon will appear in your Browser's tab or window.

If you want to add animated favicons to your Blogger blogs, then use the following method instead.

How to add an animated Favicon in Blogger

Step 1. Log in to your Blogger account > Template > Edit HTML.

Step 2. Click anywhere inside the code area and press the CTRL + F keys to open the search box. Type or paste the following tag inside the search box and hit Enter to find it:

Step 3. Paste this code just above it:
<link href="your-favicon-links-goes-here" rel="icon" type="image/gif"/>

animated favicon blogger
Note: replace your-favicon-links-goes-here with your Favicon link location

Here you can find some cool favicons for your site or blog: Just download the favicon you like, upload it on tinypic or on a blogger's post, then copy the link address/direct link.

Step 4. Save the Template and you're done adding the Favicon in your Blogger blog.

How to number comments in Blogger/BlogSpot

This cool Blogger trick will help you to add comment count inside a speech bubble, so that you & your readers can use the numbers to mention or point to a particular comment on any of your posts. Besides this, numbering your comments might help you to improve the look and feel of your blog.

Note: This works with the previous blogger commenting system, so if you want to apply this trick, first you need to remove the Blogger threaded comments. See here How to remove Blogger threaded comments
UPDATE! Now you can have a comment bubble in your threaded comments also! For more info, please read this tutorial: How to Add Numbered Comments In Threaded Comments
blogger blogspot, tricks

How to add numbered comments on our Blogger/Blogspot blog

how to blog, blogspot blogger

Step 1. From your Blogger Dashboard, go to Template and click on the Edit HTML button:

Step 2. Click anywhere inside the code area and press the CTRL + F keys to open the search box:

Step 3. Type or paste the following code inside the search box and hit Enter to find it:
<b:loop values='data:post.comments' var='comment'>
Step 4. Just above it, paste this code:
<script type='text/javascript'>var CommentsCounter=0;</script>
Step 5. The, find this code:
Step 6. And just below/after it, copy and paste this:
<span class='comments-number'>
<a expr:href='data:comment.url' title='Comment Link'>
<script type='text/javascript'>
Step 7. Find (CTRL+F) this tag:
Step 8. Just above the </head> tag, paste this code:
<!-- comments-count-starts-->
<style type="text/css">
.comments-number a:link, .comments-number a:visited {
color: black !important;
text-decoration: none !important;
background: url( no-repeat;
width: 50px; /*image-width size*/
height: 48px; /*image-height size*/
float: right;
display: block;
margin-right: 5px;
margin-top: -15px; /*comments-counter position*/
text-align: center;
font-family: 'Century Gothic','Lucida Grande',Arial,Helvetica,Sans-Serif;
font-size: 15px;
font-weight: normal;
.comments-number a:hover, .comments-number a:active {
color: #1BA0E1 !important;
text-decoration: none !important;
<!-- comments-count-stops->

  • To change the comment bubble, replace the text in red from above with your address
  • To change the color of the numbers, replace the text in blue with the hex value of your color. This tool can help you to pick up any color that you may need: Color code generator

Comment Bubbles 

To choose a comment bubble, right-click on the image and select "Copy Image Address/Location":

how to blogblogger blogspotblogspot blogger, how to blogwidget blogger blogspotblogs, how to blogblogspot or blogger, how to blogtutorials, how tocomments, how to, blogspot bloggernew comment, how to blogblog design,

IMPORTANT: You can use any image instead of the one linked in the code above (STEP 8) but after you need to change the size values (width and height), so that the numbers inside the bubble won't float outside of it.

Step 9. Save the template and enjoy your comments :]

Related tutorial: Add a Comment Bubble to Blogger Post Titles

Monday, April 16, 2012

How to Add A Comment Count Bubble To Blogger Post Titles

A comment bubble (or speech balloon) with the current number of comments displayed on each blogger post titles might be an excellent addition if you want to make your blog more attractive and engaging. Having a comment bubble icon could help you not only to get more comments on your blog but may, as well, give your visitors a hint about which are the most popular posts on your blog. When a post has received many comments, it could reflect the popularity of your posts and thus, make your readers and visitors to be more interested in reading them.
If you want to add a comment or speech bubble to your Blogger blog, then follow the next steps below:

Step 1. Log in to your Blogger Dashboard > go to Template > click the Edit HTML button

comment bubble, speech bubbles, blogger comment bubble

Step 2. Click anywhere inside the code area and press the CTRL + F keys to open the Blogger search box
blogger search box

Step 3. Find the following tag in your template:
Note: before anything, you need to click on the small arrow next to it and after the code has expanded, search for the ]]></b:skin> tag again

Step 4. Just above ]]></b:skin> add the following CSS styling:
.comment-bubble {
float : right;
width : 48px;
height : 48px;
background : url(;
background-repeat: no-repeat;
font-size : 18px;
margin-top : -15px;
margin-right : 2px;
text-align : center;
Step 5. Now find this code:
<b:if cond='data:post.title'>
<h3 class='post-title entry-title'>
Note: If you can't find it, search this code instead:
<b:if cond='data:post.title'>
      <h3 class='post-title entry-title' itemprop='name'>
Step 6. And add this code immediately after it:
<b:if cond='data:post.allowComments'>
<a class='comment-bubble' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick' style='color: #ffffff; font-size: 18px; font-weight: bold;'><data:post.numComments/></a>
  • to change the color of the comments number, replace #ffffff with the hex value of your color;
  • to change the font size, increase/decrease the 18px value;
Step 7. Preview your template and if everything is ok, click on Save Template.

Comment Bubbles 

You can choose one of the images below - right click on the image you like and select "Copy Image Address/Location", then replace the blue code from step 4 with the address you just copied.

bubble comment count, bubble blogger postsblogger comments, comment countblogger blogspot, blogger commentsblogger bubble comment countcomments in blogger titlesblogger tips, blogger tricksblogger widgets, bubble comment countbubble comment countBubble Comment CountBubble Comment Count, blogger blogspot

That's it! Enjoy!!! (:

Do you need to add more info on your blog posts? Then I recommend you reading this tutorial:

Search This Blog

Recent Post

Recent Posts Widget

Blog Archive