Wednesday, 13 March 2013

CSS3 Hover WireFrame Navigation Bar For Blogger

CSS3 Hover WireFrame Navigation Bar For Blogger
Hello Friends. In my previous posts, I have told you some codes to make navigation bars for blogger. I always prefer CSS to make navigation bars for blogger because it doesn't slow down the blog loading speed. So, once again, I am sharing a stylish wireframe navigation bar for blogger.

Follow The Instructions:

  • Login to your blogger account.
  • Go to Template > Edit HTML > Proceed > Expand Widget Templates.
  • Now, find ]]></b:skin> in your template.
  • Just below ]]></b:skin>, copy and paste this code:
  • /*menubar by pctricksguru*/
    .pctricksguru_wireframeauramenu{
    font-weight: bold;
    font-size: 90%;
    width: 760px;
    margin: 0 auto;
    }
    .pctricksguru_wireframeauramenu ul{
    border: 1px solid #BBB;
    padding: 5px 0;
    margin: 0;
    text-align: left; /*set value to "left", "center", or "right"*/
    overflow: hidden;
    }
    .pctricksguru_wireframeauramenu ul li{
    display: inline;
    }
    .pctricksguru_wireframeauramenu ul li a{
    color: #494949;
    padding: 6px 12px 6px 6px;
    margin: 0;
    text-decoration: none;
    border-right: 1px dashed #BBB; /*right border between menu items*/
    }
    .pctricksguru_wireframeauramenu ul li a:hover{
    color: black;
    background: transparent url(http://3.bp.blogspot.com/-NV9P3R0pn2Y/UT_rpaxxbBI/AAAAAAAAAK8/nCMDP-SpuoA/s1600/pink.gif) center center no-repeat; /*background of menu item onMouseover*/
    }
  • Now Save your template.
  • Now go to blogger dashboard and go to Layout.
  • Click Add A Gadget and add a new HTML/Javascript gadget.
  • Now, copy and paste this code:
  • <div class="pctricksguru_wireframeauramenu">
    <ul>
    <li><a href="#">Home page</a></li>
    <li><a href="#">CSS Library</a></li>
    <li><a href="#">Database</a></li>
    <li><a href="#">Blog Videos</a></li>
    <li><a href="#">Mobile App</a></li>
    <li><a href="#">Download</a></li>
    <li><a href="#">Support</a></li>
    <li><a href="http://www.pctricksguru.com/">Get Help</a></li>
    </ul>
    </div>
  • Save your gadget and that's it. Open your blog and check the navigation bar.

Note: Replace "#" with the required url. To change the color of the hower button, replace http://3.bp.blogspot.com/-NV9P3R0pn2Y/UT_rpaxxbBI/AAAAAAAAAK8/nCMDP-SpuoA/s1600/pink.gif in:
http://4.bp.blogspot.com/-Ray2LF7Y_g4/UT_rpSWRG5I/AAAAAAAAAK0/uvkrGmbaZkQ/s1600/green.gif (For green hover)
http://3.bp.blogspot.com/-lsvB9EzNSdw/UT_rpYsWqVI/AAAAAAAAAK4/_0nih9HgrzY/s1600/yellow.gif (For yellow hover)
Share:

0 blogger:

Post a Comment

Custom Search Box

Subscribe Our Newsletter

Advertise With Us

Blog Archive