Menu
show-notice
hide-notice

Add Stylish Navigation Menu to Blogger

on 25 October 2011

This is the our first post about blogging. One of the most important gadget in blog is navigation menu. Navigation menu help to you access your blog category pages, and your blog readers can easy to access your category pages. So now we going to show you how to add stylish animated navigation menu to blogger/blogspot. This navigation menu make your blog attractive and stylish blog. 


Features:
1. Simple and very easy to add
2. Menu with mouse hover effect and awesome look
3. Easy to add Links and use.

How to add navigation menu to blogger/blogspot

1. Go to Blogger Dashboard by clicking here >Design >Edit HTML
2. Copy the below code and paste before </head>   
<style type='text/css'>
ul#topnav {
margin: 10px 0 20px;
padding: 0;
list-style: none;
font-size: 1.1em;
clear: both;
float: left;
width: 99%;
}
ul#topnav li{
margin: 0;
padding: 0;
overflow: hidden;
float: left;
height:40px;
}
ul#topnav a, ul#topnav span {
padding: 10px 20px;
float: left;
text-decoration: none;
color: #fff;
text-transform: uppercase;
clear: both;
height: 20px;
line-height: 20px;
background: #1d1d1d;
}
ul#topnav a { color: #7bc441; }
ul#topnav span {
display: none;
}

ul#topnav.v2 span{
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPnaO3bWtbo7ZmSrtOf20sJZQJOaCn0qMi9xqgrGJq67VvQOqSy8pxXSTWa-MdQ_3EnBBo1W1wRuMFGWWgHXTF7-E1KZsE7D6nBYZ6f-52rv1bDo6jdXxlsll-je1DHMGoBl-uyIfF564/s1600/menu-bg-b-w.png) repeat-x left top;
}
ul#topnav.v2 a{
color: #555;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPnaO3bWtbo7ZmSrtOf20sJZQJOaCn0qMi9xqgrGJq67VvQOqSy8pxXSTWa-MdQ_3EnBBo1W1wRuMFGWWgHXTF7-E1KZsE7D6nBYZ6f-52rv1bDo6jdXxlsll-je1DHMGoBl-uyIfF564/s1600/menu-bg-b-w.png) repeat-x left bottom;
}
</style>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js' type='text/javascript'/>
<script type='text/javascript'>


$(document).ready(function() {


$(&quot;#topnav li&quot;).prepend(&quot;<span/>&quot;); //Throws an empty span tag right before the a tag

$(&quot;#topnav li&quot;).each(function() { //For each list item...
var linkText = $(this).find(&quot;a&quot;).html(); //Find the text inside of the a tag
$(this).find(&quot;span&quot;).show().html(linkText); //Add the text in the span tag
});

$(&quot;#topnav li&quot;).hover(function() { //On hover...
$(this).find(&quot;span&quot;).stop().animate({
marginTop: &quot;-40&quot; //Find the span tag and move it up 40 pixels
}, 250);
} , function() { //On hover out...
$(this).find(&quot;span&quot;).stop().animate({
marginTop: &quot;0&quot; //Move the span back to its original state (0px)
}, 250);
});


});
</script>
4. Then click SAVE TEMPLATE 
5. Once again go to Design tab >Page Elements >Add Gadget > HTML/Java Script
6. Copy the below code and paste it  


<div class="container">

<ul id="topnav" class="v2">
<center>
<li><a href="#">Home</a></li>
<li><a href="#">Download</a></li>
<li><a href="#">Internet</a></li>
<li><a href="#">Facebook</a></li>
<li><a href="#">Google</a></li>
<li><a href="#">Advertise</a></li>
<li><a href="#">Contact us</a></li>
</center>

</ul>

</div>

Important :- Replace # with your Link and change title your wish.. Save it 
Share and Enjoy!

SHARE

17 comments:

  1. nice menu... thanks for sharing

    ReplyDelete
  2. very awesome tutorial
    keep it up

    ReplyDelete
  3. nice tutorial
    but i want the second one
    i mean the gray one
    while i followed the entire process i got blue colour
    plz help me i need the gray one

    ReplyDelete
  4. Heyy !!!!!!!!
    its not working.when i updated the background link with your URL.the specified area remains white (becomes invisible)
    plz update the link
    ( heyy i changed the link in two places)

    ReplyDelete
  5. @Amar Ilindra
    Download this text document and copy paste before the head tag
    Click here to download text document

    ReplyDelete
  6. hey...........
    still i had a problem now, i got the text and background color is missing
    Here is the screenshot for my problem

    https://lh3.googleusercontent.com/-jEQq-CsLvTs/TrqfaiXKUGI/AAAAAAAAAX8/R2Zmgr5LlHU/s640/Untitled-3%252520copy.jpg

    plz help me !!!

    ReplyDelete
  7. AnonymousJune 15, 2012

    Very Very Nice my lovely friend thank you once again for this useful and soooooooo beautiful , i use your menu on my HD Wallpapers Blog & Abstract 3D HD Wallpapers Without Any Text On Wallpapers Here

    HDWallpaperssU.Blogspot.Com

    ReplyDelete
  8. how to put multiple link in each navigation??replay please!

    ReplyDelete
  9. copy the link and past again and again in HTML box and put multiple links but remember that your place of head/top of page is very less for multiple links.

    i see your blog i think you are girl and listen your blog is not look professional. so why are you using this navigation menu. ?

    ReplyDelete
  10. Thank you.Its really awesome.Visit my website sometime http://www.speedyfunny.com.

    ReplyDelete
  11. this trick is not working on my blog

    ReplyDelete
  12. hats off to you bro...awesome and working.....

    ReplyDelete
  13. its working..thans a lot bro :)

    ReplyDelete
  14. very very very nice...like this...

    ReplyDelete
  15. thank you soooo much!! i have gone on so many website to try and make one of these and yours is the only one that works! thankyou

    ReplyDelete

Important -Comments with Links will be deleted immediately upon our review and If you are asking a question click the 'Subscribe By Mail' link below the comment form to be notified of replies.