Add Menu Bar With Search Box In Blogger

10:34 PM

In This Tutorial You Will Learn How To Add Sexy Menu Bar With Search Box In Blogger Blog. Menu Bar And Search Box Helps Visitor To Find Cont...

BloggerIn This Tutorial You Will Learn How To Add Sexy Menu Bar With Search Box In Blogger Blog. Menu Bar And Search Box Helps Visitor To Find Content Easily. Example About Link To Read About Website Owner. To Add Menu Bar With Search Box In Your Blog Follow The Steps Below.
  1. Login To Blogger Account.
  2. Click Blog Title → Template → Edit HTML.
  3. Click Proceed Button.
  4. Search For The Following Code Using Ctrl+F.
]]></b:skin>
  1. Replace The Above Code With The Following Code.
#MenuBar{background:#333;display:block;font:18px;font-weight:400;height:32px;border-bottom:1px solid #ccc;min-width:960px;padding:5px 0}
#Menu a{color:#fff;display:block;font-weight:400;padding:5px 10px}
#Menu a:hover{background:#f4f4f4;color:#333;display:block;text-decoration:none}
#Menu ul{height:30px;list-style:none;margin:0;padding:0}
#Menu li{height:30px;float:left;margin:0;padding:0}
#MSA{width:960px;margin:0 auto;}
#MSD{width:960px;}
#Menu{height:30px;width:700px;float:left;}
#SearchBox {height:35px;float:right;width:220px;}
#SearchBox input[type="text"]{background-color:#2A2A2A;border:1px solid #484848;border-radius:5px;color:#7E7E7E;height:25px;outline:0;position:relative;-webkit-appearance:none;padding:3px 0 3px 8px}
#SearchBox input[type="submit"]{background-color:#248334;border-radius:5px;color:#fff;height:28px;width:35px;border:1px solid #7a7a7a;background-image:url(http://lh4.googleusercontent.com/--9RbYGLhmI8/UAp2hm47JEI/AAAAAAAAAxI/t_neer3k3IM/s36/Subscribe.png);padding:3px}
]]></b:skin>
  1. Now Search For The Following Code In Template Using Ctrl+F.
<body>
  1. Paste The Code Below After Above Code In Your Template.
<!--MenuBar Starts-->
<div id='MenuBar'>
<div id='MSA'>
<div id='MSD'>
<div id='Menu'>
<ul>
<li><a href='#'>Home</a></li>
<li><a href='#' rel='author'>About</a></li>
<li><a href='#'>Contact</a></li>
<li><a href='#'>Advertise</a></li>
<li><a href='#'>Write For Us</a></li>
<li><a href='#'>Privacy Policy</a></li>
<li><a href='#'>Disclaimer</a></li>
</ul>
</div>
<div id='SearchBox'>
<form action='/search' method='get'>
<input name='q' onblur='if (this.value == "") {this.value = "Search Here...";}' onfocus='if (this.value == "Search Here...") {this.value = "";}' type='text' value='Search Here...'/>
<input type='submit' value='Go'/>
</form>
</div>
</div>
</div>
</div>
<!--MenuBar Ends-->
  1. If It Show Navigation Bar On Left Then Add Above Code After First Div Tag.
  2. You Are Done.
Note: Replace Your Links With #.

No comments: