Wednesday, June 19, 2013

Classic Style Css3 Navigation Bar For Blogger


In this  tutorial  im gonna explain how to add simple classic style Css3 Navigation Bar to blogger.  classic style Css3 Navigation testes with every modern web browsers. It work fine.You can link with your main pages by  using this  navigation  bar. Im using Css3 and HTML Just check out demo.This classic style Css3 Navigation menu easy to add to blogger.lets give a try.

Classic+Style+Css3+Navigation+Bar
    

You may like these articles
     
     Add Multilevel CSS3 Menu Bar With Icons
     Modern Ribbon Hover Effect Menu Bar
     Rollover Css3 Navigation Bar
     Beautiful Bouncing jQuery Menu Bar
    

How to add Classic Style Css3 Navigation Bar


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. Find this tag by using Ctrl+F    ]]></b:skin>

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

/* The CSS Code for the menu starts here bloggertrix.com */
#blogtrix_classic-menu{width:900px;background:#222 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjet9gFdfNPGoOod61VuYh-ozsMoNQkzmUMiS-IqpMgusZrOKk3sp9tLOI4EBIbK2JFFImtoyirUzSQ4YBSqCM4jxK2CwZ-_8qnGHw-5qCOTkyXAfTU7Av14P4tmDP4TxqoFv0lqn-WuGM/s1600/btrixfooter_bg.png) repeat-x scroll top;color:#ddd;height:35px;-webkit-box-shadow:0 1px 5px #aaa;-moz-box-shadow:0 1px 5px #aaa;-ms-box-shadow:0 1px 5px #aaa;-o-box-shadow:0 1px 5px #aaa;box-shadow:0 1px 5px #aaa;border-bottom:1px solid #000;padding-top:8px;border:none 5px #000000;-moz-border-radius-topleft: 5px;-moz-border-radius-topright:5px;-moz-border-radius-bottomleft:5px;-moz-border-radius-bottomright:5px;-webkit-border-top-left-radius:5px;-webkit-border-top-right-radius:5px;-webkit-border-bottom-left-radius:5px;-webkit-border-bottom-right-radius:5px;
border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;}
#blogtrix_classic-menu ul,#blogtrix_classic-menu li{margin:0 auto;padding:0 0;list-style:none}
#blogtrix_classic-menu ul{height:35px;width:980px}
#blogtrix_classic-menu li{float:left;display:inline;position:relative;font:14px Skranji;text-transform:uppercase;}
#blogtrix_classic-menu a{display:block;line-height:35px;padding:0 14px;text-decoration:none;color:#ddd;}
#blogtrix_classic-menu li a:hover{color:#fff}
#blogtrix_classic-menu input{display:none;margin:0 0;padding:0 0;width:80px;height:30px;opacity:0;cursor:pointer}
#blogtrix_classic-menu label{font:bold 30px Arial;display:none;width:35px;height:36px;line-height:36px;text-align:center}
#blogtrix_classic-menu label span{font-size:12px;position:absolute;left:35px}
#blogtrix_classic-menu ul.menus{height:auto;overflow:hidden;width:180px;background:#f1eeed url(http://3.bp.blogspot.com/-7ppDp44Yxtc/UUa_IMHEhpI/AAAAAAAAAjQ/F9QEGUl5S3w/s1600/index.png);position:absolute;z-index:99;display:none;}
#blogtrix_classic-menu ul.menus li{display:block;width:100%;font:12px Arial;text-transform:none;text-shadow:none}
#blogtrix_classic-menu ul.menus a{color:#333}
#blogtrix_classic-menu li:hover ul.menus{display:block}
#blogtrix_classic-menu a.prett{padding:0 27px 0 14px}
#blogtrix_classic-menu a.prett::after{content:"";width:0;height:0;border-width:6px 5px;border-style:solid;border-color:#ddd transparent transparent transparent;position:absolute;top:14px;right:9px}
#blogtrix_classic-menu ul.menus a:hover{background:#ddd;color:#333}
.page-blogtrix_classic-menu{width:70%;margin:18px auto;padding:0;float:right;text-shadow:0 1px 0 rgba(0,0,0,0.7)}
.page-blogtrix_classic-menu ul{list-style:none;color:#ddd;width:700px;margin:0 auto;padding:0}
.page-blogtrix_classic-menu ul li{list-style:none;line-height:32px;display:inline-block}
.page-blogtrix_classic-menu li a{color:#ddd;display:block;font-size:14px;font-family:Arial;position:relative;text-decoration:none;text-transform:capitalize;padding:0 10px}
.page-blogtrix_classic-menu li a:hover,.page-blogtrix_classic-menu .selected{color:#fff;text-decoration:none;background: rgba(0,0,0,.4);-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px; -moz-box-shadow: 0 1px 0 rgba(255,255,255,.2), 0 2px 1px rgba(0,0,0,.9) inset;-webkit-box-shadow: 0 1px 0 rgba(255,255,255,.2), 0 2px 1px rgba(0,0,0,.9) inset;box-shadow: 0 1px 0 rgba(255,255,255,.2), 0 2px 1px rgba(0,0,0,.9) inset}

6. Go to blogger and click Layout

7. Click Add Gadget and select 'HTML/Javascript

8. Paste below code.

<div id="blogtrix_classic-menu">
<ul>
<li><a href="/">Home</a></li>
<li><a href="#">Menu 1</a></li>
<li><a class="prett" href="#">Drop list</a>
<ul class="menus">
<li><a href="#">Drop list 1</a></li>
<li><a href="#">Drop list 2</a></li>
<li><a href="#">Drop list 3</a></li>
</ul>
</li>
<li><a href="#">Menu 2</a></li>
<li><a class="prett" href="#">Drop list 1</a>
<ul class="menus">
<li><a href="#">Drop list 1</a></li>
<li><a href="#">Drop list 2</a></li>
<li><a href="#">Drop list 3</a></li>
</ul>
</li>
</ul>
</div>
Replace # with your links.

9. Now save your HTML/Javascript'. You are done.

If you need any help to add this Classic Style Css3 Navigation Bar.Just leave a comment.

3 comments:

  1. Awesome Tutorial.

    ReplyDelete
  2. but the list is not dropping down in my blog. what could be the reason ?

    ReplyDelete
  3. nice dropdown menu, so simple and clean

    ReplyDelete