Monday, June 8, 2009

Horizontal navigation Tabs Bar for Blogger

Horizontal navigation Tabs Bar makes your blog stylish and easy to navigate. The trick here is to creat links for each Tab which links to the url of your labels. You have to label your posts to make it work.



Just Go To Layout > Edit Html

And Search For

Now add these below Css codes before it-



/* ----- LINKBAR ----- */
#bg_nav {
display: block;
background: #000;
width: 760px;
height: 29px;
font-size: 11px;
font-family: Arial, Tahoma, Verdana;
color: #FFF;
font-weight: bold;
margin: 0px auto 0px;
padding: 0px;
border-top: 1px solid #333;
border-bottom: 1px solid #000;
overflow: hidden;
}

#bg_nav a, #bg_nav a:visited {
color: #FFF;
font-size: 11px;
text-decoration: none;
text-transform: uppercase;
padding: 0px 0px 0px 3px;
}

#bg_nav a:hover {
color: #FFF;
text-decoration: underline;
padding: 0px 0px 0px 3px;
}

#navleft {
width: 720px;
float: left;
margin: 0px;
padding: 0px;
}

#navright {
width: 220px;
font-size: 11px;
float: right;
margin: 0px;
padding: 6px 5px 0px 0px;
}

#navright a img {
border: none;
margin: 0px;
padding: 0px;
}


#nav {
margin: 0px;
padding: 0px;
list-style: none;
}

#nav ul {
margin: 0px;
padding: 0px;
list-style: none;
}

#nav a, #nav a:visited {
background: #222;
color: #FFF;
display: block;
font-weight: bold;
margin: 0px;
padding: 8px 15px;
border-left: 1px solid #000;
}

#nav a:hover {
background: #6e6d6d;
color: #FFFFFF;
margin: 0px;
padding: 8px 15px;
text-decoration: none;
}

#nav li {
float: left;
margin: 0px;
padding: 0px;
}

#nav li li {
float: left;
margin: 0px;
padding: 0px;
width: 150px;
}

#nav li li a, #nav li li a:link, #nav li li a:visited {
background: #333;
width: 160px;
float: none;
margin: 0px;
padding: 7px 30px 7px 10px;
border-bottom: 1px solid #000;
border-left: 1px solid #000;
border-right: 1px solid #000;
}

#nav li li a:hover, #nav li li a:active {
background: #666;
padding: 7px 30px 7px 10px;
}

#nav li ul {
position: absolute;
width: 10em;
left: -999em;
}

#nav li:hover ul {
left: auto;
display: block;
}

#nav li:hover ul, #nav li.sfhover ul {
left: auto;
}
/*for Linkbar*/



Please edit the width of the above codes in red to adjust to the width of the navigation menu to adjust it to yours template width.You can change the color and design of above css also if you are capable of it.
Now Search for below codes-


<div id="'header-wrapper'">
<b:section class="'header'" id="'header'" maxwidgets="'1'" showaddelement="'no'">
<b:widget id="'Header1'" locked="'true'" title="'Testing" type="'Header'/">

</b:section>
</div>


And add the below codes after the above codes:-


<div id='bg_nav'>
<div id='navleft'>
<div id='nav'>
<ul>
<li><a href='/'>home</a></li>
<li><a href='http://cyberjedizen.blogspot.com/search/label/Blogger%20Hack'> Blogger Hacks</a></li>
<li><a href='http://cyberjedizen.blogspot.com/search/label/Electronics'> Electronics</a></li>
<li><a href='http://cyberjedizen.blogspot.com/search/label/Tutorial'> Tutorials</a></li>
<li><a href='http://cyberjedizen.blogspot.com/search/label/Resources'> Resources</a></li>
<li><a href='http://cyberjedizen.blogspot.com/'>Contact</a></li>
</ul>
</div>
</div>
</div>



[ Socialize This]

1 comment:

  1. Thanks for the share........

    yesterday i was searching 4 a nice css menu ..the n sundenly i found this site name css menu builder which provides free 200 design menus..
    just see this article->http://myfundoo-blog.blogspot.com/2009/10/need-menu-for-your-websiteblog.html

    -----------------------------------------------------------------------------
    Regards
    I>K>B

    ReplyDelete

Why I stopped publishing blog posts as information provider

Now the AI can generate content. Does that mean the web publishing industry reaches the end? ChatGPT said: ChatGPT Not at all. While AI can ...