How To Add Top Navigation menu Bar To Blogger



STEP #1
Log in to Blogger -> Layout -> Edit HTMLand select the tick-boxExpand Widget Templates
Then, find (CTRL+F) this code in the template:

]]></b:skin>
And immediately before it, paste this code:

/*URL: http://bdlab.blogspot.com/*/

.basictab{
padding: 3px 0;
margin-left: 0;
font: bold 12px Verdana;
border-bottom: 1px solid gray;
list-style-type: none;
text-align: left; /*set to left, center, or right to align the menu as desired*/
}

.basictab li{
display: inline;
margin: 0;
}

.basictab li a{
text-decoration: none;
padding: 3px 7px;
margin-right: 3px;
border: 1px solid gray;
border-bottom: none;
background-color: #f6ffd5;
color: #2d2b2b;
}

.basictab li a:visited{
color: #2d2b2b;
}

.basictab li a:hover{
background-color: #DBFF6C;
color: black;
}

.basictab li a:active{
color: black;
}

.basictab li.selected a{ /*selected tab effect*/
position: relative;
top: 1px;
padding-top: 4px;
background-color: #DBFF6C;
color: black;
}

NOW CLICK SAVE TEMPLATE


Add The Menu To Our Template

Go To your Blogger Dashboard, Layout >> Page Elements >>

and now above blog posts area, click add gadget,



image
Then add this code in to it:

<ul class="basictab">
<li class="selected"><a href="http://bdlab.blogspot.com">Home</a></li>
<li><a href="http://bdlab.blogspot.com/">Blogger Templates</a></li>
<li><a href="http://bdlab.blogspot.com/">Blogegr Tricks</a></li>
<li><a href="#">Edit</a></li>
<li><a href="#">Edit</a></li>
<li><a href="#">Edit</a></li>
<li><a href="#">Edit</a></li>
</ul>

Now click Save

4 comments:

  1. this is great
    http://www.theberrycracks.co.in/2012/08/how-to-add-navigation-menu.html

    ReplyDelete
  2. Thank you for this helpful post bro! Indeed it's very interesting. :)

    ReplyDelete
  3. superrrrrrrr widget
    operaorbis.blogspot.com

    ReplyDelete