Friday, February 22, 2013

Beautiful Css3 Navigation Menu For Blogger

Menu bar is very important in blogger.Because it helps to navigate your blog or website easily.It mean they can find easily  what  they  looking  for.  In  this  tutorial im gonna explain  how  to  add    Css3    menu  bar  for  blogger. Its include nice  hover  style.Im  using Css3 and HTML, Just check out demo.Its easy to add to blogger get my all 
menu bar here



Demo

1. Log in to blogger account and Click drop down.
blog-post-option
2. Now select "Template" Like Below.

Select-template

3. Now you can see Live on blog, Click EDIT HTML Button"

4. Now click Proceed button.
   
5. Find this tag by using Ctrl+F    ]]></b:skin>

6. Paste below code Before ]]></b:skin> tag

/* The CSS Code for the menu starts here bloggertrix.com */

#navigation { width:900px;height: 45px; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHHXKDQgIK-t0wBT7aH2fb-EKubChFTAyGKGjKL1j48kcG5mmVybsvMpFW0hatYFElVncPdaD5HSvCkVWAzQVIfBI_6twSokDfR7drffbG1MGaMjCVqm3UnLzfzPt1MYrLppNQZI4xB7o/s1600/nav-bg.gif) repeat-x 0 0;
border:inherit 2px #000000;
-moz-border-radius-topleft: 10px;-moz-border-radius-topright:10px;-moz-border-radius-bottomleft:10px;-moz-border-radius-bottomright:10px;-webkit-border-top-left-radius:10px;-webkit-border-top-right-radius:10px;-webkit-border-bottom-left-radius:10px;-webkit-border-bottom-right-radius:10px;
border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-left-radius:10px;border-bottom-right-radius:10px; }
#navigation ul { list-style: none outside; padding: 8px 0 0 8px; }
#navigation li { float: left; display: inline; height: 29px; line-height: 29px; text-transform: uppercase; margin-right: 3px }
#navigation li.last { margin-right: 0; }
#navigation li a,
#navigation li a span { float: left; display: inline; height: 29px; padding-left: 10px; background-position: 0 0; color: #919191; }
#navigation li a span { padding-left: 0; padding-right: 10px;  background-position: right 0; }
#navigation ul.sf-menu li a:hover,
#navigation ul.sf-menu li a:hover span { background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0-n1PJ2uRY-QmwVzKiD6NS7VHRJXAB4d8DKExwoqbDaUq1jxpKrfVw2xEipdCgfTzQc7iNJAAs5u9H8Q2-UKRjTgiJ2w9wxX3wxgNzkAf2NyhnkfToHreikqEyOUc-F_ag9DVbqKEkQM/s1600/nav-states-red.gif); text-decoration: none; color: #fff; }
#navigation li a.clicked,
#navigation li a.clicked span { background-position: 0 bottom }
#navigation li a.clicked span { background-position: right bottom; }

7. Go to blogger and click Layout

8. Click Add Gadget and select 'HTML/Javascript

9. Paste below code.

<div id="navigation">
<ul class="sf-menu sf-js-enabled sf-shadow">
<li class="cat-item cat-item-29"><a title="Home" href="#"><span>HOME</span></a></li>
<li class="cat-item cat-item-29"><a href="#" title="Graphics"><span>Graphics</span></a></li>
<li class="cat-item cat-item-31"><a href="#" title="Coding"><span>Coding</span></a></li>
<li class="cat-item cat-item-18"><a href="#" title="inspiration"><span>inspiration</span></a> </li>
<li class="cat-item cat-item-1"><a href="#" title="Photography"><span>Photography</span></a></li>
<li class="cat-item cat-item-30"><a href="#" title="Freebies"><span>Blogger</span></a></li>
<li class="cat-item cat-item-19"><a href="#" title="Wordpress"><span>Wordpress</span></a></li>
<li class="cat-item cat-item-25"><a href="#" title="Logo"><span>Logo</span></a></li>
<li class="cat-item cat-item-22"><a href="http://www.bloggertrix.com/" title="Contact"><span>Contact</span></a>
</li></ul></div>
Replace # with your links.

10. Now save your HTML/Javascript'.

    You are done...

7 comments:

  1. Its Really Awesome Man thank you For Sharing You Are Rocks And Your New Template Is Also Cool

    ReplyDelete
    Replies
    1. Thanks buddy,
      yeah, new design.Still working for it.

      Delete
    2. exactly what i think "Laxman Singh" nice template

      Delete
  2. good article.

    Sometime i wonder how you come up with such tricks day in day out. Really Good job you are doing, keep it up

    ReplyDelete
  3. please give me css codes for hover effect navigation...

    ReplyDelete