Add related post Wideget to Blogger

Tuesday, October 23, 2012

This widget if wonderful.we can see the related post.
This very helpful to your blog readers.try to put this
widget to your blogger.

1. Go to blogger dashboard and click Design and 
click Edit HTML

2. Better to backup your template before editing this. 
3. Press Ctrl+F and find this code 
                                                </head>
4. Copy this below code after earlier code
<style> #related-posts { float : left; 
width : 540px; margin-top:20px; margin-left : 5px; margin-bottom:20px; 
font : 11px Verdana; margin-bottom:10px; } #related-posts .widget { 
list-style-type : none; margin : 5px 0 5px 0; padding : 0; } 
#related-posts .widget h2, #related-posts h2 { font-size : 20px; 
font-weight : normal; margin : 5px 7px 0; padding : 0 0 5px; } 
#related-posts a { text-decoration : none; } #related-posts a:hover { 
text-decoration : none; } #related-posts ul { border : medium none; 
margin : 10px; padding : 0; } #related-posts ul li { display : block; 
background : 
url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisuwkZWdH8LnzKzW0XFUzLQiw2vlOX1q8tczwDPDuMlgMF5NRFw-XUuSzyfzb0M9A4BbS-mnZmxvs0i3ItvWY69I4h9BqIkZvzd09rP-UTGYESGFEJrezEaHMJdnjbls7SpGvG5G_CKDw/")
 no-repeat 0 0; margin : 0; padding-top : 0; padding-right : 0; 
padding-bottom : 1px; padding-left : 21px; margin-bottom : 5px; 
line-height : 2em; border-bottom:1px dotted #cccccc; } </style> 
<script 
src='http://theblogtemplates.com/scripts/Related_posts_hack.js' 
type='text/javascript'/>

5. Again search for
              <data:post.body/>    or   <div class='post-body>   or <data:post.body/>
 Above 3 code are same.i put it because some code are different with some templates

6. Copy this below code after 1 of earlier code.   

 <b:if cond='data:blog.pageType == "item"'>

<div id="related-posts">

<font face='Arial' size='3'><b>Related Posts : 
</b></font><font color='#FFFFFF'><b:loop 
values='data:post.labels' 
var='label'><data:label.name/><b:if cond='data:label.isLast 
!= &quot;true&quot;'>,</b:if><b:if 
cond='data:blog.pageType == &quot;item&quot;'>

<script expr:src='&quot;/feeds/posts/default/-/&quot; + 
data:label.name + 
&quot;?alt=json-in-script&amp;callback=related_results_labels&amp;max-results=5&quot;'
 type='text/javascript'/></b:if></b:loop> </font>

<script type='text/javascript'> removeRelatedDuplicates(); printRelatedLabels();

</script>

</div></b:if>

5.Click "preview and see it correct and click "save template".you are done.
Continue Reading...

Add Dig button to blogger

This is also good way to increase your blog readers.
Try to put this button also to your blogger.


1. Go to blogger dashboard and click Layout and 
click Edit HTML

2. Better to backup your template before editing this. 

3. Press Ctrl+F and find this code 
                                                <data:post.body/> 

4. Copy this below code after earlier code

<!-- DIGG --><div style="'float:right;"><script type="'text/javascript'">digg_url = '<data:post.url/>';</script><script src="'http://digg.com/tools/diggthis.js'" type="'text/javascript'/"></div>

5.Click "preview and see it correct and click "save template".  
Continue Reading...

How To Edit HTML In Blogger

This is for beginners who don,t know how to Edit HTML
in your site.This will may help to Add some gadget widget.
 Because we can add those things without knowing
Editing HTML.

1. Sign In to your Blogger account and go to  
Dashboard click design

2.In design tab Click Edit HTML.
 

3. If some post will say Expand Widget Templates.you can see below image.If  put 
     checked mark it will Expand widget template.If not it will not expand.


4.If  you want to find some tag use Ctrl +F



5. Now you can edit the template.after edit it click Preview you can see
     you edited correctly or wrong before.If your Edit is correct you can click Save Template

6. Make sure when you Edit the HTML code.Better to Backup your template(download).
    In this same page there is topic called  Backup / Restore Template. 
    There is option called download Download Full Template. click it and downland template.


7. If something happened to your template,you can put your download template.
     So ,no risk to edit template.

8. You can see How to change template in my earlier template
Continue Reading...

How To Add Navigation Menu Bar To Blogger

You can Add navigation menu easy. try these steps.


1. Go to blogger dashboard and click Layout and
 click Page Element

2. Click Add Gadget and select HTML/JavaScript widget. 

3.You can see navigation bars code below.you can copy the code  paste it to  
     inside HTML/JavaScript widget.


Style 1.

 

<style> #navcontainer { /* none needed */ } ul#navlist { margin: 0; padding: 0; list-style-type: none; white-space: nowrap; } ul#navlist li { float: left; font-family: verdana, arial, sans-serif; font-size: 9px; font-weight: bold; margin: 0; padding: 5px 0 4px 0; background-color: #666; border-top: 1px solid #e0ede9; border-bottom: 1px solid #e0ede9; } #navlist a, #navlist a:link { margin: 0; padding: 5px 9px 4px 9px; color: #fff; border-right: 1px solid #d1e3db; text-decoration: none; } ul#navlist li#active { color: #95bbae; background-color: #d1e3db; } #navlist a:hover { color: #fff; background-color: #FE9C54; } </style> <div id="navcontainer"> <ul id="navlist">
<li><a href="Link 1"><span>Name 1</span></a></li> 
<li><a href="Link 2"><span>Name 2</span></a></li>
<li><a href="Link 3"><span>Name 3</span></a></li>
<li><a href="Link 4"><span>Name4</span></a></li>
<li><a href="Link 5"><span>Name 5</span></a></li>
<li><a href="Link 6"><span>Name 6</span></a></li> 
<li><a href="Link 7"><span>Name 7</span></a></li>
</ul> </div>
 

Style 2:
<style> #tabsE { float:left; width:100%; background:#000; font: bold 7.5pt Verdana; line-height:normal; } #tabsE ul { margin:0; padding:10px 10px 0 50px; list-style:none; } #tabsE li { display:inline; margin:0; padding:0; } #tabsE a { float:left; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZcRQbyfBAbPo9EaoTLh1vXq9pfkounUBIT2o07rrsuvSyHEgp5BVsd_29w5X5QdbExf8-qC4gnkbv58GqaPT7fUBLYfI-VsfYfMEYGaXh9iFplK6U-aIhDHZId81M1uVd-1vGZguORLc/s1600/tableftE.png) no-repeat left top; margin:0; padding:0 0 0 4px; text-decoration:none; } #tabsE a span { float:left; display:block; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfz6TLxMqJCZ3ipiuyKWEUqH-nkgG_3IpfY0NlAg5QHt4IFiOZ3PVKCju0VQfcpg5-tKdS6S4LBAVkWqP6vXy3GSFbYBA5zmMp9jE7iD9X0TDKL8rvqFCmQxUhI1JSMQBwst17m3FIcO8/s1600/tabrightE.png) no-repeat right top; padding:5px 15px 4px 6px; color:#FFF; } /* Commented Backslash Hack hides rule from IE5-Mac \*/ #tabsE a span {float:none;} /* End IE5-Mac hack */ #tabsE a:hover span { color:#FFF; } #tabsE a:hover { background-position:0% -42px; } #tabsE a:hover span { background-position:100% -42px; } </style> <div id="tabsE"> <ul>
<li><a href="Link 1"><span>Name 1</span></a></li> 
<li><a href="Link 2"><span>Name 2</span></a></li>
<li><a href="Link 3"><span>Name 3</span></a></li>
<li><a href="Link 4"><span>Name4</span></a></li>
<li><a href="Link 5"><span>Name 5</span></a></li>
<li><a href="Link 6"><span>Name 6</span></a></li> 
<li><a href="Link 7"><span>Name 7</span></a></li>
</ul> </div>

Style 3:
 
<style> #navcontainer { background: #369; border-top: 1px solid #9CC; margin-top: 20px; font: normal normal 11px Verdana, Geneva, Arial, Helvetica, sans-serif; } #navlist { list-style: none outside none; margin: 0; padding: 0; } @media all { #navlist { text-align: center } } #navlist li { bottom: 11px; display: inline; line-height: 1.2em; margin: 0; padding: 0; position: relative; } html>body #navlist li { background: #000; margin: 0 3px 0 0; padding: 4px 0px 4px 0; } #navlist a, #navlist a:link, #navlist a:visited { background: #900; border: 1px solid #FFF; bottom: 2px; color: #FFF; cursor: pointer; display: inline; height: 1em; margin: 0; padding: 3px 5px 3px 5px; position: relative; right: 2px; text-decoration: none; } #navlist a:hover { background: #C00; bottom: 1px; color: #FFF; position: relative; right: 1px; } #navlist a:active { background: #999; bottom: 0px; color: #FFF; position: relative; right: 0px; } #navlist li#active { background: #369; bottom: 13px; display: inline; margin: 0 3px 0 0; padding: 0; position: relative; } html>body #navlist li#active { background: #000; margin: 0 4px 0 4px; } #navlist #active a, #navlist #active a:link, #navlist #active a:visited, #navlist #active a:hover { background: #369; border-bottom: none; border-left: 1px solid #9CC; border-right: 1px solid #9CC; border-top: 1px solid #9CC; bottom: 0; color: #FFF; cursor: text; margin: 0; padding: 2px 5px 0 5px; position: relative; right: 0; } </style> <div id="navcontainer"> <ul id="navlist">
<li><a href="Link 1"><span>Name 1</span></a></li> 
<li><a href="Link 2"><span>Name 2</span></a></li>
<li><a href="Link 3"><span>Name 3</span></a></li>
<li><a href="Link 4"><span>Name4</span></a></li>
<li><a href="Link 5"><span>Name 5</span></a></li>
<li><a href="Link 6"><span>Name 6</span></a></li> 
<li><a href="Link 7"><span>Name 7</span></a></li>
</ul> </div>

Style 4:
 <style> #tabsH { float:left; width:100%; background:#000; font: bold 7.5pt Verdana; line-height:normal; } #tabsH ul { margin:0; padding:10px 10px 0 50px; list-style:none; } #tabsH li { display:inline; margin:0; padding:0; } #tabsH a { float:left; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLtHq-F7ms_rXPp72bCSPHc3qrsA8E9tbbSjdvzNaOagP2aUhKj7i_gJ6HdA4_1xkPyl8Hcw9PXiq2lyPZn9pPN4y5s5mZb2Y0-lJoFdmq3hNkOsFR1icDstmXS3C1AbRRvQ_HUUahrt0/s1600/tableftH.png) no-repeat left top; margin:0; padding:0 0 0 4px; text-decoration:none; } #tabsH a span { float:left; display:block; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMPSPwuMzfxsvBLfsjcrUsOlAqQkY-YWPDHHPRKJMsJeh-j7hUTf4QmiGADzKMHp4Jzl9cImaFb6APt5_wGMXtWt-spE8m9YjlPjjVN7yT2W8B01lD6TDkUt-U8b6yMHzHYEgOvmENJG8/s1600/tabrightH.png) no-repeat right top; padding:5px 15px 4px 6px; color:#FFF; } /* Commented Backslash Hack hides rule from IE5-Mac \*/ #tabsH a span {float:none;} /* End IE5-Mac hack */ #tabsH a:hover span { color:#FFF; } #tabsH a:hover { background-position:0% -42px; } #tabsH a:hover span { background-position:100% -42px; } </style> <div id="tabsH"> <ul>
<li><a href="Link 1"><span>Name 1</span></a></li> 
<li><a href="Link 2"><span>Name 2</span></a></li>
<li><a href="Link 3"><span>Name 3</span></a></li>
<li><a href="Link 4"><span>Name4</span></a></li>
<li><a href="Link 5"><span>Name 5</span></a></li>
<li><a href="Link 6"><span>Name 6</span></a></li> 
<li><a href="Link 7"><span>Name 7</span></a></li>
</ul> </div>


Style 5:


<style> #navcontainer { background: #f0e7d7; margin: 0 auto; padding: .4em 0 .2em 0; font-family: georgia, serif; text-transform: uppercase; font-size: 14px; } /* to stretch the container div to contain floated list */ #navcontainer:after { content: "."; display: block; line-height: 1px; font-size: 1px; clear: both; } ul#navlist { list-style: none; padding: 0; margin: 0 auto; width: 80%; font-size: 0.8em; } ul#navlist li { display: block; float: left; margin: 0; padding-bottom: 2px; } ul#navlist li a { display: block; width: 100%; padding: 0.5em; border-width: 1px; border-color: #ffe #aaab9c #ccc #fff; border-style: solid; color: #777; text-decoration: none; background: #f7f2ea; } #navcontainer>ul#navlist li a { width: auto; } ul#navlist li#active a { background: #f0e7d7; color: #800000; } ul#navlist li a:hover, ul#navlist li#active a:hover { color: #800000; background: transparent; border-color: #aaab9c #fff #fff #ccc; } </style> <div id="navcontainer"> <ul id="navlist"> 
<li><a href="Link 1"><span>Name 1</span></a></li> 
<li><a href="Link 2"><span>Name 2</span></a></li>
<li><a href="Link 3"><span>Name 3</span></a></li>
<li><a href="Link 4"><span>Name4</span></a></li>
<li><a href="Link 5"><span>Name 5</span></a></li>
<li><a href="Link 6"><span>Name 6</span></a></li> 
<li><a href="Link 7"><span>Name 7</span></a></li>
</ul> </div>

4. In this codes you can see, Name is what u have to put on navigation menu( Home,
   Contact us.About me)
5:  Link is what You put on there as name,Its URL.


6. Now save template and see. you are done.
Continue Reading...

Add a google Buzz button to blogger

This is a easy way to  share your post.Google buzz is also
 similar to facebook and twitter.
you can increase your blog readers.


1. Go to blogger dashboard and click Layout and click Edit HTML

2. Better to backup your template before editing this.

3. Make sure put check mark the "Expand Widget Templates" box.

4. Press Ctrl+F and find this code 
                                     <div class='post-header-line-1'/>
  
5. Add this below code ,after find the above code.

 <div style="float:right;padding:4px;"> 
<script type='text/javascript'> njuice_buzz_url = 
'<data:post.title/>'; njuice_buzz_title = 
'<data:post.url/>'; njuice_buzz_share = 'reader'; </script> 
<script type='text/javascript' 
src='http://button.njuice.com/buzz.js'/> </div> 

6. If not work.paste above code after this code
                                      <data:post.body/>

Enjoy it
Continue Reading...

How to make a favicon to your blogger

Favicon is a small icon we can see the address bar before
our link.we can make it as we want.
You can create  some image.make sure its square image.


1. Now log to your blogger and navigate to  
Layout > Edit HTML and expand Widget Templates

2. Find this code by using Ctrl+F   <title><data:blog.pageTitle/></title>

3.After You can see like this code.
           <link href='your ico file URL' rel='shortcut icon' type='image/x-icon'/>

4.Now you have to make 16x16 or 32x32 size image and upload to hosting site and get a link.
    after get the link put that link  in your ico file URL  area in above code.

5. After finished it save your template.
Continue Reading...

How to change template

1. You can download new template and use it for you blog.
first u have to download a template.log to your blog.
Go to dashboard and click"design".see below image.





2.  After u can see like this page.Click "Edit Html"


3.  Now  you can see Html page.IF you will want to keep your old template,you must have
     to download.i think its better.because if something happen to your new template you
     can restore it."click download full template" to download it.


4.  After download it you can change your template.Click"browse" to get your template.
    select the template file and click "upload".after it will update.

5.  After upload if you got this message if u like keep it u can if not you can delete it.
     no need to worry it.it because some widgets not working for this template.now
     click "view blog and see how it nice.
Continue Reading...