الخميس، 31 مايو 2012

Add Floating Social Media Sharing Buttons To Blogger

The Floating Social Media Sharing is a very popular widget on all the top blogs and this is one of the ways to increase the number of times your posts get shared on Twitter, Facebook and other social networks.

This floating social bar has the following options: Facebook Like, StumbleUpon, Twitter Share, Digg This, Google+ and each of them comes with a live counter. You can add more sharing buttons or social bookmarking icons later if you want.

Blogger, WordPress, Facebook, Share

How to add the scrolling social bookmarking bar


Step 1. Log in to your Blogger Dashboard, select your blog and go to Layout 

Step 2. Click on Add A Gadget link


Step 3. From the pop-up window, scroll down and select HTML/Javascript 

Step 4. Copy the code below and paste it inside the empty box.

Step 5. Save the gadget.

The code to copy-paste (updated!):
<style type="text/css">
#social-buttons {
position:fixed;
bottom:15%
margin-left:-721px;
float:left;
border-radius:5px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
background-color:#fff;
padding:0 0 2px 0;
z-index:10;
}
#social-buttons .button-share {
float:left;
clear:both;
margin:5px 5px 0 2px;
}
</style>
<div id='social-buttons' title="Get this from helplogger.blogspot.com">
<div class='button-share' id='like' style='margin-left:7px;'>
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like" data-send="false" data-layout="box_count" data-width="40" data-show-faces="false"></div>
</div>
<br /><div class='sbutton' style="margin-left: 2px;" ><a class='twitter-share-button' data-count='vertical' data-via='Helplogger' expr:data-counturl='data:blog.url' href='http://twitter.com/share' rel='nofollow'>Tweet</a><script src='http://platform.twitter.com/widgets.js'; type='text/javascript'></script>
<br />
<div class='button-share' style="margin-left: 3px;" id='su'>
<script src="http://www.stumbleupon.com/hostedbadge.php?s=5"></script>
</div>
<div class='button-share' id='digg' style='margin-left:3px;width:48px'>
<script src='http://widgets.digg.com/buttons.js' type='text/javascript'></script>
<a class="DiggThisButton DiggMedium"></a>
</div>
<div class='button-share' style='margin-left:3px;' id='gplusone'>
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<g:plusone size="tall"></g:plusone>
</div>
<div style="clear: both;font-size: 9px;text-align:center;">Get <a style="color: #3399BB;" href="http://helplogger.blogspot.com/">widget</a></div></div></div>
Customization:
  • Vertical alignment - Change the 15% value of bottom. The code positions the social bar relative to the bottom of your browser window. To fix the distance even when window is resized, specify the value in px (pixels) instead of %.
  • Horizontal alignment - Change the -721px value from margin-left. Negative value pushes the button to the left of the main blog column, positive value pushes it to the right. Increase or decrease the value based on your needs.
  • Twitter setting - Replace Helplogger with your Twitter username
  • Replacing and removing buttons - You can replace existing buttons with your own. Each button is represented by this code:
<div class='sbutton'> BUTTON CODE HERE </div>
    Enjoy!!! :)

    Create A Rollover Image Effect (change image on mouseover)

    The Rollover effect is one in which an image web object changes (swaps itself) on mouse over to another web object (called rollovers) and reverts back to the original image on mouse out. Rollover images are preloaded into the page when it is loading, this ensures that the rollovers are displayed quickly. The onMouseOver and onMouseOut attributes of the link tag are used to make this functional.

    Demo:  Place your mouse over the image below to see its rollover effect


    Making Rollover Effect Image

    You have the following code:

    <a href="URL ADDRESS"><img src="URL OF THE FIRST IMAGE GOES HERE" onmouseover="this.src='URL OF THE SECOND IMAGE GOES HERE'" onmouseout="this.src='URL OF THE FIRST IMAGE GOES HERE'" /></a>

    Change the colored texts as it follows:

    1. URL ADDRESS

    This is the address where somebody will be sent when clicks on the image.
    Example, my blog address: http://www.helplogger.blogspot.com

    2. URL OF THE FIRST IMAGE GOES HERE

    Replace the orange text (two times) with the URL address of the image which will appear before you hover over it.

    3. URL OF THE SECOND IMAGE GOES HERE
    Replace the text in blue with the url of  the image that will appear when the cursor hovers over it.

    Now you can paste your image inside a blog gadget, going to Layout > click on Add a Gadget link (right side) > Select HTML/JavaScript from the pop-up window, then add it to your sidebar.

    You can also add it inside your post by going to New Post > Switch to HTML tab and then paste the code in the empty box.

    That's it. Enjoy ;)

    السبت، 12 مايو 2012

    Add Facemoods Emoticons To Your Blogger Comments

    Here are some amazingly funny emoticons that you can add in your Blogger comments, both for flat (without reply function) and threaded commenting system (with replies)! To get an idea of how these cool emoticons or smiley faces look like, please visit the demo blog:

    emoticons, smileys, blogger, tricks


    Want to add Facemoods emoticons in Blogger comments? Then, follow the steps below:

    How to Add Facemoods Emoticons in Blogger Comments

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


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

    Step 3. Type or paste one of the below lines inside the search box, then hit 'Enter' to find it:
    • For flat commenting system:
    <h4 id='comment-post-message'><data:postCommentMsg/></h4>
    • For threaded comments:
    <div class='post-footer-line post-footer-line-3'>

    Step 4. Add the following code just BEFORE the line that you just found:

    Note: for threaded commenting system, please add the code AFTER:
    <b:if cond='data:blog.pageType == "item"'>
    <div style=' width: 450px; text-align: left; border: 1px dashed #0084ce; background: transparent; padding: 10px; color:#000000; font-weight:bold; '>
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh9WhE-MJVyziIjZ0RAbOo5Sfo35MpM3iNVfqPIZwkJli4I9FXNUtPqWiZtFkr8dNQAWZcRN_u6agXpj5GWn5_8BYguxIoDv4Jzc-lt4LdjA34P2vW5RK5kwJ8gw1jez0EBKqg2GlVrQl3/s1600/helplogger.blogspot.com(1).gif'/> :a
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguUUAoLQJNnjoqgwF1AM0LNsWLs6CEHJBAxR3R5n54YjdcTqOiAQGXYW3dMZ7WuNbVzf7iVp2kQxB2gPcw627MIciASIZKh6AoNXbF2V4KX3zBs7pGrwLjBlrCRyf1_c3YKdOUFC_5DXoO/s1600/helplogger.blogspot.com+(2).gif'/> :b
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwIn17BhoHwFprXWZeAAp0Bt9oZdnTx53SmpJ0wE9zWUS4hLFhN_yhQXlHHuoprDxZygy7DBSpbINz7eWDtInI_cmoSfsGb6ojfc3ewtyWKXZ3dNXEAhGO8pHRoE4GeXquXgHbZhCFp4FW/s1600/helplogger.blogspot.com(3).gif'/> :c
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMp6owsJ0IlyTkKAhOnKJW01CMD3rS8lqA4wSOoWUynvigUvZ9EGi2HRzwAaT3_uJgybxl5gZ9po4o21AclsgT9TiTGMkIAoaXzKZoW_fzMVY-XLB_ChQk-fjIP4dgGXsbJRGrp6iUgjJJ/s1600/helplogger.blogspot.com(4).gif'/> :d
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOP3aOMr9UkcCP3xag7tLEyqAq6k32NOVUutEenIePSArH37dWgjTP2KtI_B4u4tVB6dHiWTMSfuQdPCMVMflty5goCKNyNc2hSHWL4EYemSgxGz6sA6ee9fpH1g7y6PAxjeKPjO24DRq-/s1600/helplogger.blogspot.com(5).gif'/> :e
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWflLG0EUaG-Z2hz21T4YXZXCQSb6oHBqzop4WO0P4zQdWrWs8uFFXp_lDJcsVOuN2EbeEZb8aFHd6uBVMv212HSR0Ow4NYWvgKLVrJ4wgIjMilQmf-zPB1nnr68DG4PB000ROq0K-YSuS/s1600/helplogger.blogspot.com(6).gif'/> :f
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIEtUWB7xfHmrBHfrSgLwHCJk1tZvhpctrG4TE5FVPFZ3J8GI1j8C-j6o5fD8WMbFmdtGPVcP7iGqE1gW6gdieoDMdqvW5SHfcYCyyj56HXThd4uf9_v0SkrGcBZBx31_6wiiG_SmIBJgA/s1600/helplogger.blogspot.com(7).gif'/> :g
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgst-Cmme9qsV9rnnuxCavFUcOPCWMusAzPeIzHMW2OKo-LUic5kyGMCROt-gtet3aoeC-ZqgtuvY8FWk19iEgKejdXEfTiWbBDTQbjn9ft029sIeO0gW7iUNxWJ_YdP0UXJSN5_8zY-RMx/s1600/helplogger.blogspot.com(8).gif'/> :h
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6VP04imYlvgdtOVVG91PyL6YT3xdTjcie4fE2QNTBs8EZxLDEvz6F2A8eVxovoAcpyrU_399ccoPHZiV_hBjeM-FthqnKPe9gaxGrYIO7i6u4J8j-jQASnIpAfQewsDgkf7ounQ2mp293/s1600/helplogger.blogspot.com(9).gif'/> :i
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjowKsiMgw71RMKQYCOTN2QKRRu7LbQ7kFEZtThAmpOCVI7q8_MFrmxdmtQm54L9YG1G12ApYEbBoC4ulNqYEZuI0o0cbOzGcNsOEGGlPDtKyAC7sM_Iyt4HvZzlqHOW4eGDeJqf5U0wgnY/s1600/helplogger.blogspot.com(10).gif'/> :j
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp7e7i4wdRLDEmTMg__DuRD7AQTftNeUzWTplWi9MZ4XGLrcec4OpSaIx_odRgiSeUXAJrtm1WxAAIISW4WRmtjA2RHUJwShfouencZ1Mso3H_bXrJHvTdUpmAmr35n7_lsSc530eZU526/s1600/helplogger.blogspot.com(11).gif'/> :k
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg020-fQhfk0CjgcBN_qfQJ9tJTfKr8UvUZNmZBjQnKtrsT9dQ6s5X4q2uUjsFiw4HBurxKh-9KpjrNob_aOTPlIRYaaeoHh9_nNF9u3vKuD_dq9ZadNhfwrQdFr1BwA4d8-Jv9WXOOPVVb/s1600/helplogger.blogspot.com(12).gif'/> :l
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYG-P4g1rZPun_44Rdc3ttfFlqMTzM3m4YJ98PMlc5EkKemv9w6H1SmanCx5oMwvxzBVplUldyqB5Txzb0ws1_vsXFeUqu_j1Dfgjyr9I-FG9MML34HGryKqtvibAsnURMCOIUH3K8vi2R/s1600/helplogger.blogspot.com(13).gif'/> :m
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaxwmBi7LK8xIYAnvHGlz_mgw3v2t-FlVixeBEkplEKNJ3SGQOWotrh5J3vXq_1LdVvjuyZxd8Dum6f7UTescPBwu5ki9n6w5GW-RJMfXkwoxH-a4OghNwg1AiO2OKkWihqr6zWlkWam1S/s1600/helplogger.blogspot.com(15).gif'/> :n
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgagyqVuuXiNfub9Z5l0sx7_WMGi5zKJcUkR4l_3ePnnWCPtAab3uIubRS3z_FDSLZYwxh0sJbhy6cZIsNcx6tsWYkyKMacJnzeO66Mo87DF2nn1jR0SvgmFWKKBpwA03pa3iRklUUCMBun/s1600/helplogger.blogspot.com(16).gif'/> :o
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA-y6tn2DpB6mBD_6gpAYzkwKWGY9kcuiS8NY2lm1zeycGFt0CejNeDcOX5M5cxeTmMHq4AWhy77atorXw3Pm0LEqbLUYP3TrxMWDGvM1w9UEjshKOxVGD42j51QCvY90E0g8RyXHfmbQh/s1600/helplogger.blogspot.com(14).gif'/> :p
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRyKy4ZYW6acV9R4GNUg6O_0oyWhlHnjWoXcXsderpo-7nHK48Ql7TNTlCcRnlr9m9C6NyOWscAniC7lyyoLUMe7TG3nXBK9ok39xA_JxAWubS92WqwawuTfoNroKWUdhNdhQV5UKQaLzM/s1600/helplogger.blogspot.com(17).gif'/> :q
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidX8q9Zj6QTUw-am2Pswcfhqjgo-TSUn0ixFUnmj_wO8l7Y0HNj38gjZ_54vqBl96JwJfJsGYAZinRRRwSp2sc0PnZK5zI8PLrKdwLVXYl3f9YMd8M_nOs_n51rF_2AHGyJbRe-kcHonk8/s1600/helplogger.blogspot.com(18).gif'/> :r
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTP3NN27cqUyW2rE8exkg_fLWbPPxn12GNZ-Td-3Z9fdPQFWIVF423zgNUAfcfpzO_X1RkzNOOn91V4LiHzmUtTTu1HvB3lEmxwRV4tURx2grXKNwgq4H2gCxgFLcgy0DAIuGc8b0cnSMZ/s1600/helplogger.blogspot.com(19).gif'/> :s
    &#160;
    <img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjemOasTzV_gVK3yKl1fR4uE0YwfXzaViIgEJWyNIS8lCyFRfNz5y39WTYS-Ja61gvNdLeqcop6ciVTsOfLsxgRur8mxhUmlZtzMDBsI6-BcuW94IgtSXWbTyiG9pyp-370F4PiB6w1NBgi/s1600/helplogger.blogspot.com(20).gif'/> :t   <a href='http://helplogger.blogspot.com/2012/05/add-facemoods-emoticons-to-your-blogger.html' style='color: rgb(30, 122, 183); font-size: x-small;'>Add emoticons to Blogger + </a>
    </div></b:if>
    Step 5. Now, search this tag:
    </body>
    Step 6. Add this script below immediately before the </body> tag:

    • For flat comments (no reply):
    <script type='text/javascript'>
    //<![CDATA[
    a = document.getElementById('comments');
    if(a) {
    b = a.getElementsByTagName("DD");
    for(i=0; i < b.length; i++) {
    if (b.item(i).getAttribute('CLASS') == 'Author-comment-body' , 'comment-body') {
    _str = b.item(i).innerHTML.replace(/:j/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjowKsiMgw71RMKQYCOTN2QKRRu7LbQ7kFEZtThAmpOCVI7q8_MFrmxdmtQm54L9YG1G12ApYEbBoC4ulNqYEZuI0o0cbOzGcNsOEGGlPDtKyAC7sM_Iyt4HvZzlqHOW4eGDeJqf5U0wgnY/s1600/helplogger.blogspot.com(10).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:k/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp7e7i4wdRLDEmTMg__DuRD7AQTftNeUzWTplWi9MZ4XGLrcec4OpSaIx_odRgiSeUXAJrtm1WxAAIISW4WRmtjA2RHUJwShfouencZ1Mso3H_bXrJHvTdUpmAmr35n7_lsSc530eZU526/s1600/helplogger.blogspot.com(11).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:l/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg020-fQhfk0CjgcBN_qfQJ9tJTfKr8UvUZNmZBjQnKtrsT9dQ6s5X4q2uUjsFiw4HBurxKh-9KpjrNob_aOTPlIRYaaeoHh9_nNF9u3vKuD_dq9ZadNhfwrQdFr1BwA4d8-Jv9WXOOPVVb/s1600/helplogger.blogspot.com(12).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:m/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYG-P4g1rZPun_44Rdc3ttfFlqMTzM3m4YJ98PMlc5EkKemv9w6H1SmanCx5oMwvxzBVplUldyqB5Txzb0ws1_vsXFeUqu_j1Dfgjyr9I-FG9MML34HGryKqtvibAsnURMCOIUH3K8vi2R/s1600/helplogger.blogspot.com(13).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:n/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaxwmBi7LK8xIYAnvHGlz_mgw3v2t-FlVixeBEkplEKNJ3SGQOWotrh5J3vXq_1LdVvjuyZxd8Dum6f7UTescPBwu5ki9n6w5GW-RJMfXkwoxH-a4OghNwg1AiO2OKkWihqr6zWlkWam1S/s1600/helplogger.blogspot.com(15).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:o/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgagyqVuuXiNfub9Z5l0sx7_WMGi5zKJcUkR4l_3ePnnWCPtAab3uIubRS3z_FDSLZYwxh0sJbhy6cZIsNcx6tsWYkyKMacJnzeO66Mo87DF2nn1jR0SvgmFWKKBpwA03pa3iRklUUCMBun/s1600/helplogger.blogspot.com(16).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:p/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA-y6tn2DpB6mBD_6gpAYzkwKWGY9kcuiS8NY2lm1zeycGFt0CejNeDcOX5M5cxeTmMHq4AWhy77atorXw3Pm0LEqbLUYP3TrxMWDGvM1w9UEjshKOxVGD42j51QCvY90E0g8RyXHfmbQh/s1600/helplogger.blogspot.com(14).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:q/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRyKy4ZYW6acV9R4GNUg6O_0oyWhlHnjWoXcXsderpo-7nHK48Ql7TNTlCcRnlr9m9C6NyOWscAniC7lyyoLUMe7TG3nXBK9ok39xA_JxAWubS92WqwawuTfoNroKWUdhNdhQV5UKQaLzM/s1600/helplogger.blogspot.com(17).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:r/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidX8q9Zj6QTUw-am2Pswcfhqjgo-TSUn0ixFUnmj_wO8l7Y0HNj38gjZ_54vqBl96JwJfJsGYAZinRRRwSp2sc0PnZK5zI8PLrKdwLVXYl3f9YMd8M_nOs_n51rF_2AHGyJbRe-kcHonk8/s1600/helplogger.blogspot.com(18).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:s/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTP3NN27cqUyW2rE8exkg_fLWbPPxn12GNZ-Td-3Z9fdPQFWIVF423zgNUAfcfpzO_X1RkzNOOn91V4LiHzmUtTTu1HvB3lEmxwRV4tURx2grXKNwgq4H2gCxgFLcgy0DAIuGc8b0cnSMZ/s1600/helplogger.blogspot.com(19).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:t/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjemOasTzV_gVK3yKl1fR4uE0YwfXzaViIgEJWyNIS8lCyFRfNz5y39WTYS-Ja61gvNdLeqcop6ciVTsOfLsxgRur8mxhUmlZtzMDBsI6-BcuW94IgtSXWbTyiG9pyp-370F4PiB6w1NBgi/s1600/helplogger.blogspot.com(20).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:a/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh9WhE-MJVyziIjZ0RAbOo5Sfo35MpM3iNVfqPIZwkJli4I9FXNUtPqWiZtFkr8dNQAWZcRN_u6agXpj5GWn5_8BYguxIoDv4Jzc-lt4LdjA34P2vW5RK5kwJ8gw1jez0EBKqg2GlVrQl3/s1600/helplogger.blogspot.com(1).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:b/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguUUAoLQJNnjoqgwF1AM0LNsWLs6CEHJBAxR3R5n54YjdcTqOiAQGXYW3dMZ7WuNbVzf7iVp2kQxB2gPcw627MIciASIZKh6AoNXbF2V4KX3zBs7pGrwLjBlrCRyf1_c3YKdOUFC_5DXoO/s1600/helplogger.blogspot.com+(2).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:c/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwIn17BhoHwFprXWZeAAp0Bt9oZdnTx53SmpJ0wE9zWUS4hLFhN_yhQXlHHuoprDxZygy7DBSpbINz7eWDtInI_cmoSfsGb6ojfc3ewtyWKXZ3dNXEAhGO8pHRoE4GeXquXgHbZhCFp4FW/s1600/helplogger.blogspot.com(3).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:d/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMp6owsJ0IlyTkKAhOnKJW01CMD3rS8lqA4wSOoWUynvigUvZ9EGi2HRzwAaT3_uJgybxl5gZ9po4o21AclsgT9TiTGMkIAoaXzKZoW_fzMVY-XLB_ChQk-fjIP4dgGXsbJRGrp6iUgjJJ/s1600/helplogger.blogspot.com(4).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:e/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOP3aOMr9UkcCP3xag7tLEyqAq6k32NOVUutEenIePSArH37dWgjTP2KtI_B4u4tVB6dHiWTMSfuQdPCMVMflty5goCKNyNc2hSHWL4EYemSgxGz6sA6ee9fpH1g7y6PAxjeKPjO24DRq-/s1600/helplogger.blogspot.com(5).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:f/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWflLG0EUaG-Z2hz21T4YXZXCQSb6oHBqzop4WO0P4zQdWrWs8uFFXp_lDJcsVOuN2EbeEZb8aFHd6uBVMv212HSR0Ow4NYWvgKLVrJ4wgIjMilQmf-zPB1nnr68DG4PB000ROq0K-YSuS/s1600/helplogger.blogspot.com(6).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:g/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIEtUWB7xfHmrBHfrSgLwHCJk1tZvhpctrG4TE5FVPFZ3J8GI1j8C-j6o5fD8WMbFmdtGPVcP7iGqE1gW6gdieoDMdqvW5SHfcYCyyj56HXThd4uf9_v0SkrGcBZBx31_6wiiG_SmIBJgA/s1600/helplogger.blogspot.com(7).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:h/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgst-Cmme9qsV9rnnuxCavFUcOPCWMusAzPeIzHMW2OKo-LUic5kyGMCROt-gtet3aoeC-ZqgtuvY8FWk19iEgKejdXEfTiWbBDTQbjn9ft029sIeO0gW7iUNxWJ_YdP0UXJSN5_8zY-RMx/s1600/helplogger.blogspot.com(8).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:i/ig,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6VP04imYlvgdtOVVG91PyL6YT3xdTjcie4fE2QNTBs8EZxLDEvz6F2A8eVxovoAcpyrU_399ccoPHZiV_hBjeM-FthqnKPe9gaxGrYIO7i6u4J8j-jQASnIpAfQewsDgkf7ounQ2mp293/s1600/helplogger.blogspot.com(9).gif' alt='' class='smiley'/>")
    b.item(i).innerHTML = _str;
    }
    }
    }
    //]]>
    </script>
    • For threaded comments with reply function:
    <script type='text/javascript'>
    //<![CDATA[
    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(/:j/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjowKsiMgw71RMKQYCOTN2QKRRu7LbQ7kFEZtThAmpOCVI7q8_MFrmxdmtQm54L9YG1G12ApYEbBoC4ulNqYEZuI0o0cbOzGcNsOEGGlPDtKyAC7sM_Iyt4HvZzlqHOW4eGDeJqf5U0wgnY/s1600/helplogger.blogspot.com(10).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:k/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp7e7i4wdRLDEmTMg__DuRD7AQTftNeUzWTplWi9MZ4XGLrcec4OpSaIx_odRgiSeUXAJrtm1WxAAIISW4WRmtjA2RHUJwShfouencZ1Mso3H_bXrJHvTdUpmAmr35n7_lsSc530eZU526/s1600/helplogger.blogspot.com(11).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:l/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg020-fQhfk0CjgcBN_qfQJ9tJTfKr8UvUZNmZBjQnKtrsT9dQ6s5X4q2uUjsFiw4HBurxKh-9KpjrNob_aOTPlIRYaaeoHh9_nNF9u3vKuD_dq9ZadNhfwrQdFr1BwA4d8-Jv9WXOOPVVb/s1600/helplogger.blogspot.com(12).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:m/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYG-P4g1rZPun_44Rdc3ttfFlqMTzM3m4YJ98PMlc5EkKemv9w6H1SmanCx5oMwvxzBVplUldyqB5Txzb0ws1_vsXFeUqu_j1Dfgjyr9I-FG9MML34HGryKqtvibAsnURMCOIUH3K8vi2R/s1600/helplogger.blogspot.com(13).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:n/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaxwmBi7LK8xIYAnvHGlz_mgw3v2t-FlVixeBEkplEKNJ3SGQOWotrh5J3vXq_1LdVvjuyZxd8Dum6f7UTescPBwu5ki9n6w5GW-RJMfXkwoxH-a4OghNwg1AiO2OKkWihqr6zWlkWam1S/s1600/helplogger.blogspot.com(15).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:o/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgagyqVuuXiNfub9Z5l0sx7_WMGi5zKJcUkR4l_3ePnnWCPtAab3uIubRS3z_FDSLZYwxh0sJbhy6cZIsNcx6tsWYkyKMacJnzeO66Mo87DF2nn1jR0SvgmFWKKBpwA03pa3iRklUUCMBun/s1600/helplogger.blogspot.com(16).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:p/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA-y6tn2DpB6mBD_6gpAYzkwKWGY9kcuiS8NY2lm1zeycGFt0CejNeDcOX5M5cxeTmMHq4AWhy77atorXw3Pm0LEqbLUYP3TrxMWDGvM1w9UEjshKOxVGD42j51QCvY90E0g8RyXHfmbQh/s1600/helplogger.blogspot.com(14).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:q/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRyKy4ZYW6acV9R4GNUg6O_0oyWhlHnjWoXcXsderpo-7nHK48Ql7TNTlCcRnlr9m9C6NyOWscAniC7lyyoLUMe7TG3nXBK9ok39xA_JxAWubS92WqwawuTfoNroKWUdhNdhQV5UKQaLzM/s1600/helplogger.blogspot.com(17).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:r/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidX8q9Zj6QTUw-am2Pswcfhqjgo-TSUn0ixFUnmj_wO8l7Y0HNj38gjZ_54vqBl96JwJfJsGYAZinRRRwSp2sc0PnZK5zI8PLrKdwLVXYl3f9YMd8M_nOs_n51rF_2AHGyJbRe-kcHonk8/s1600/helplogger.blogspot.com(18).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:s/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTP3NN27cqUyW2rE8exkg_fLWbPPxn12GNZ-Td-3Z9fdPQFWIVF423zgNUAfcfpzO_X1RkzNOOn91V4LiHzmUtTTu1HvB3lEmxwRV4tURx2grXKNwgq4H2gCxgFLcgy0DAIuGc8b0cnSMZ/s1600/helplogger.blogspot.com(19).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:t/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjemOasTzV_gVK3yKl1fR4uE0YwfXzaViIgEJWyNIS8lCyFRfNz5y39WTYS-Ja61gvNdLeqcop6ciVTsOfLsxgRur8mxhUmlZtzMDBsI6-BcuW94IgtSXWbTyiG9pyp-370F4PiB6w1NBgi/s1600/helplogger.blogspot.com(20).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:a/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh9WhE-MJVyziIjZ0RAbOo5Sfo35MpM3iNVfqPIZwkJli4I9FXNUtPqWiZtFkr8dNQAWZcRN_u6agXpj5GWn5_8BYguxIoDv4Jzc-lt4LdjA34P2vW5RK5kwJ8gw1jez0EBKqg2GlVrQl3/s1600/helplogger.blogspot.com(1).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:b/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguUUAoLQJNnjoqgwF1AM0LNsWLs6CEHJBAxR3R5n54YjdcTqOiAQGXYW3dMZ7WuNbVzf7iVp2kQxB2gPcw627MIciASIZKh6AoNXbF2V4KX3zBs7pGrwLjBlrCRyf1_c3YKdOUFC_5DXoO/s1600/helplogger.blogspot.com+(2).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:c/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwIn17BhoHwFprXWZeAAp0Bt9oZdnTx53SmpJ0wE9zWUS4hLFhN_yhQXlHHuoprDxZygy7DBSpbINz7eWDtInI_cmoSfsGb6ojfc3ewtyWKXZ3dNXEAhGO8pHRoE4GeXquXgHbZhCFp4FW/s1600/helplogger.blogspot.com(3).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:d/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMp6owsJ0IlyTkKAhOnKJW01CMD3rS8lqA4wSOoWUynvigUvZ9EGi2HRzwAaT3_uJgybxl5gZ9po4o21AclsgT9TiTGMkIAoaXzKZoW_fzMVY-XLB_ChQk-fjIP4dgGXsbJRGrp6iUgjJJ/s1600/helplogger.blogspot.com(4).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:e/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOP3aOMr9UkcCP3xag7tLEyqAq6k32NOVUutEenIePSArH37dWgjTP2KtI_B4u4tVB6dHiWTMSfuQdPCMVMflty5goCKNyNc2hSHWL4EYemSgxGz6sA6ee9fpH1g7y6PAxjeKPjO24DRq-/s1600/helplogger.blogspot.com(5).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:f/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWflLG0EUaG-Z2hz21T4YXZXCQSb6oHBqzop4WO0P4zQdWrWs8uFFXp_lDJcsVOuN2EbeEZb8aFHd6uBVMv212HSR0Ow4NYWvgKLVrJ4wgIjMilQmf-zPB1nnr68DG4PB000ROq0K-YSuS/s1600/helplogger.blogspot.com(6).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:g/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIEtUWB7xfHmrBHfrSgLwHCJk1tZvhpctrG4TE5FVPFZ3J8GI1j8C-j6o5fD8WMbFmdtGPVcP7iGqE1gW6gdieoDMdqvW5SHfcYCyyj56HXThd4uf9_v0SkrGcBZBx31_6wiiG_SmIBJgA/s1600/helplogger.blogspot.com(7).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:h/gi, "<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgst-Cmme9qsV9rnnuxCavFUcOPCWMusAzPeIzHMW2OKo-LUic5kyGMCROt-gtet3aoeC-ZqgtuvY8FWk19iEgKejdXEfTiWbBDTQbjn9ft029sIeO0gW7iUNxWJ_YdP0UXJSN5_8zY-RMx/s1600/helplogger.blogspot.com(8).gif' alt='' class='smiley'/>");
    _str = _str.replace(/:i/ig,"<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6VP04imYlvgdtOVVG91PyL6YT3xdTjcie4fE2QNTBs8EZxLDEvz6F2A8eVxovoAcpyrU_399ccoPHZiV_hBjeM-FthqnKPe9gaxGrYIO7i6u4J8j-jQASnIpAfQewsDgkf7ounQ2mp293/s1600/helplogger.blogspot.com(9).gif' alt='' class='smiley'/>")
    b.item(i).innerHTML = _str;
    }
    }
    }
    //]]>
    </script>
    Step 7. Finally, click the 'Save Template' button and visit your blog to check if the Facemoods emoticons have been successfully added in your Blogger comments.

    الأحد، 6 مايو 2012

    How to Change Default Anonymous Avatar in Blogger Comments

    Earlier, you've seen how you can change the size of the avatars in blogger comments and now I will show you how to change or customize the default avatar of anonymous commenters or Blogger users with no picture on their profiles. While Blogger announced the new threaded commenting system, we can still customize it by adding a jQuery plugin to our template and then replace the default anonymous avatar that can be found on this address: http://img1.blogblog.com/img/anon36.png and the one for blogger users: http://img2.blogblog.com/img/b36-rounded.png ...with our own.

    anonymous, default avatar, blogger blogspot

    Replace the Default Anonymous Avatar on Blogger Comments


    Step 1. Go to Dashboard - Template - click on the Edit HTML button


    ...click anywhere inside the code area and open the template search box by pressing the CTRL + F keys

    Step 2. Type or paste this code in the search box, then hit Enter to find it:
    </body>
    Step 3. Just above the </body> tag, add the following code:
    <script src='http://code.jquery.com/jquery-latest.js'/>
    <script>
    $(&quot;img[src=&#39;http://img1.blogblog.com/img/anon36.png&#39;]&quot;)
    .attr(&#39;src&#39;, &#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj06EBsWercitWG5ElUUzFKwuVJ7ZOGnvQxn5hDIQjErqwZL6oMi4wrOlTMucl86BQr1uZVFCpbZwomNZ6ZswANhOxRkFNq3yWEIRG6oUWiOFZTJznVAtn2vNlfek9Rgn6ClEqFvNMr3jE/s1600/default_avatar.gif&#39;)
    .ssyby(&#39;blank&#39;)
    </script>
    <script src='http://code.jquery.com/jquery-latest.js'/>
    <script>
    $(&quot;img[src=&#39;http://img2.blogblog.com/img/b36-rounded.png&#39;]&quot;)
    .attr(&#39;src&#39;, &#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7tS1FYjylS2dgFMb2GqoI8bqwy9huj9cTITqGC7xgh2CySSLD0mVi9_kNC4IgtBuKzSbtqSF8bnmYaV4X72h8HtRJFHqN-l7Z_r3BqsbEK1Z_ZF-YY8N9-cti_NTOaADZ1evR2Efu9Nk/s1600/blogger-user.png&#39;)
    .ssyby(&#39;blank&#39;)
    </script>
    Step 4. Save the changes by clicking on the Save Template button

    Changing the default avatar

    For Anonymous users: Replace the code in red with your image address
    For Blogger users: Replace the URL in blue with your own.

    You can choose an avatar from here and then copy the url of it:


    https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj06EBsWercitWG5ElUUzFKwuVJ7ZOGnvQxn5hDIQjErqwZL6oMi4wrOlTMucl86BQr1uZVFCpbZwomNZ6ZswANhOxRkFNq3yWEIRG6oUWiOFZTJznVAtn2vNlfek9Rgn6ClEqFvNMr3jE/s200/default_avatar.gif


    https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdy1e13XCtHyItknd-kVyZXP9Os6PC7eBbHcrBjjKEJvajtdClMMnjwaCKLuf279L8QKjoX01uhKnfwNf9VN0npAcEzD_uXO3u-vCCCaUTWgzCQerK1Im8rGIWUMke72xYtPzn1LVaCx0/s1600/facebook.gif


    https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6uK11oyFKIfaKqT22b2Znj6A0TSC5IwEGCxo65IUJ6f9qLsSdEDgtmkZ9nnxRBjg21CVcQxqNTTuItDXwIkR8neT06_WCAjSllLN0s0u99rssI-CFZUbn85pxsusMe2Vq7NRzOQOmRpM/s1600/anonymous3.png



    https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjw6zGBiMnZHP2nVUUx9FusqQnB6nHAJApXYx8pU05YBeREOW0NdoEZRFHVw34VVeflvEC34tUFfFfFvrE66A8Z-lgXr2dOy3jimQdebHson0TBzayUCho0T7gBEftvqrCDEvJh_QM837YS/s1600/blogger-user.png

    That's it! If you found this trick useful, please consider sharing it.

    السبت، 5 مايو 2012

    How To Change Avatar Size In Blogger Comments

    This simple trick will help you modify the avatars size in Blogger comments whose default size is of 36px... pretty small considering that a lot of sites these days are using much larger avatars. To change the style and size of avatars is very easy - you just need to add the CSS code in your Blogger template that will make size of avatars to have width and height of 64px.


    Step 1. Go to Dashboard - Template - click on the Edit HTML button


    ...click anywhere inside the code area and press CTRL + F to open the blogger' search box

    Step 2. Type or paste this tag inside the search box and hit Enter to find it:
    ]]></b:skin>
    Note: you may need to click on the arrow next to it and then search this tag again

    Step 3. Depending on which comment system you use (with reply/no reply), copy and paste one of the following codes just above it:

    [Works in Blogger threaded comment system]
    .comments .avatar-image-container{
    background-color: rgb(34, 34, 34);
    border:1px solid #ccc;
    margin: 0px 10px 0px 0px;
    padding: 0px 0px 0px 0px;
    width: 64px;
    max-height: 64px;
    }
    .comments .avatar-image-container img{
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    max-width: 64px;
    height: 64px;
    }
    [for old blogger commenting system]
    .avatar-image-container{
    border:1px solid #d6d6d6;
    margin-left: -30px;
    -moz-border-radius: 4px;
    background:#fff;
    height:70px;
    min-height: 70px;
    width:70px;
    min-width:70px;
    }
    .avatar-image-container img {
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9QhkNVSY_dp2vVOcB4IMXmgkgj9Nai6OieR5o1NQGdw_zeDepi-qezspGzBJrAgj2DuMoiUxJc7ujVspeGTk-05xkQJyP-CKCwVwjtQnXueRFh9yKbbA7OEqc4EvjmeHY_4ZkhyphenhyphenuYyMs/s200/anonymous.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width:70px;
    min-width:70px;
    height:70px;
    min-height:70px;
    }
    Note: For bigger/smaller avatars, change the values in red. To change the anonymous avatar, replace the URLs in blue with your own. (works only for the old commenting system i.e. that has no reply option)

    Step 4. Cick on the Save template button to apply the changes.

    That's it. Now the Blogger comments avatars should look bigger.

    How to Hide Blogger Sidebar to Display AdSense For Search Results

    When visitors are searching for content on your blog, you have three options to display the search results: opening the results in the same window, in a new window or within your own site using an iframe.

    The best option would be, however, to display the search results within your own site/blog, mainly because you are not sending people off your blog when they are taken to a new page of search results which could be confusing for many because it doesn't look anything like your site or Google. Therefore, displaying the search results within your site, could make it look much more professional and may also increase the page views and the revenue from the ads on the search page.

    A problem that many bloggers are facing is that the page which displays the AdSense for search results must be at least of 800 px wide, so the posting area must be of minimum 800px and there's nothing like this in most of the blogs.
    So, what we will do in this tutorial is to set up the search results to be displayed in a static page (none of other posts or pages will be affected) in which we'll remove the sidebar so that we'll have enough space to make the post/page section of 800px wide. Moreover, we will create a static page designed only for the search results, then create a new AdSense for search in our AdSense account and finally add a small snippet of code top in your Blogger template to hide the sidebar in that specific page.

    Search results span the width of the page with the sidebar hidden:


    Display AdSense For Search Results Within Blogger Page

    Step 1. Create a new static page on your blog, you can give it the title 'Search Results' but leave the content section empty and then Publish the page.

    Step 2. When you publish the page you have the option to add the page to a menu, choose the third option 'No Gadget Link To Pages Manually' click 'Save and Publish'. In case this screen doesn't show, right click on View Page and select Copy Link Address. We will need this URL of the page later when we will create the AdSense for search.

    Step 3. Go To Your AdSense account, then go to My ads tab, select the Search option and Create a New custom search engine. Follow the steps until you come to the Search results option.

    Step 4. Select the 3rd method "on my website using an iframe", then Enter the URL of the page you created into the URL field and continue.


    Step 5. Follow the rest of the set up process and at the end you will be given two pieces of code. The first piece of code is for the actual search bar which you can paste into a Html/JavaScript gadget on your sidebar or wherever you want it. The second piece of code you need to copy and paste it into a new HTML/JavaScript gadget, click on Save, then drag it above the Blog Posts area


    Now that you have your page set up with the search results code and your search bar code in your sidebar, it is time to add a snippet of code to your template to remove the sidebar.

    Adding The Code In Blogger To Change the Results Page Layout

    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 Blogger' search box

    Step 3. Find (CTRL + F) the following piece of code
    ]]></b:skin>
    Step 4. Just below it, paste this code:
    <b:if cond='data:blog.url == &quot;PAGE-URL-HERE&quot;'>
    <style>
    .main-inner .columns {
    padding-left: 0px !important;
    padding-right: 0px !important;
    }
    .main-inner .fauxcolumn-center-outer {
    left: 0px !important;
    right: 0px !important;
    }
    .main-inner .fauxcolumn-left-outer, .main-inner .fauxcolumn-right-outer, .main-inner .column-left-outer, .main-inner .column-right-outer {
    display: none !important;
    }
    </style>
    </b:if>

    Note: Replace PAGE-URL-HERE with the url of the page where the search results will be displayed (the one you have added at the step 4)

    Step 5. Now Save Template and you're done!

    This simple trick allows you not only to hide the sidebar in the search results page, you can as well, hide it on any page you want... just create your page and follow the same steps. It is also recommended to hide the sidebar in Privacy Policy Pages, Contact Pages and on all the non-content-based pages with little content or no content at all.

    Show Blogger Image only in Homepage and Hide it in Post Page


    To hide images/pictures from blogger posts and make them appear only in homepage, we will add just a small piece of CSS code in our template and then use the class "hidepic" each time we want to hide an image.

    Just follow the next steps:

    Step 1. Go to Dashboard - 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 code inside the search box then hit Enter to find it:
    ]]></b:skin>
    Step 4. Paste the following code just below it
    <b:if cond='data:blog.pageType != &quot;index&quot;'>
    <style>
    .hidepic{
    display: none;
    }
    </style>
    </b:if>
    Step 5. Save the Template.

    Now, each time you create a post, first add the picture that you want to hide and then switch to the HTML tab where you'll see the HTML code of the image that you added - it will look something like this:
    <div class="separator" style="clear: both; text-align: center;">
    <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuntCFgpUphreKKUKJCYeVFH8VfWsCNzQwlTl_SXdJCLiHbTNI8bWR08NXjd_idezOHW4sdY3KQ4l5tqpt5Uy603Dt1-y6SXlfc0uwDCVs9k3jBnnvyt1D-dvhx1clctp351p_KJdbA9k/s1600/fire_bird_by_fhrankee-d32af8v.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuntCFgpUphreKKUKJCYeVFH8VfWsCNzQwlTl_SXdJCLiHbTNI8bWR08NXjd_idezOHW4sdY3KQ4l5tqpt5Uy603Dt1-y6SXlfc0uwDCVs9k3jBnnvyt1D-dvhx1clctp351p_KJdbA9k/s320/fire_bird_by_fhrankee-d32af8v.png" width="320" /></a></div>

    Note: it should be at the exact location where your image has been added 
    (if the image is at the middle of the text, then the code should be found at the middle)

    Step 6. Replace "separator" with "hidepic" - see the screenshot below:

    If you need more help, please leave a comment below.