In my previous post I have shared a 3D menu for blogger and now in this post I am back with a new blogger menu. Its a stylish Apple(Iphone) style horizontal menu. It is designed with pure CSS, there is no use of jquery. It has a neat and clean design with a decent color, look and responsive effect. A search box is also floating on right hand side of this menu which has also a responsive design i.e it becomes long when it is hovered by mouse. Another amazing effect in this menu is that when search box is used the whole menu shrinks. You can take a look in below image. Hope you like it:
Screenshot:
How to add Apple style horizontal menu in blogger:
You can add this menu to your blog in few simple steps. Its so easy you just have to follow below steps and you are done. At the end of this tutorial, I will explain how to customize this menu according to your choice. So lets begin! follow me to add this menu in your blog:
Step 1: Like always go to blogger dashboard :p
Step 2: Select template in the menu on left side and click on edit Html.
Step 3: Click anywhere inside the template code and search for </header>.
Step 4: Copy below code and paste it just below </header>:
<div>
<div class="navMenu expander">
<form action="">
<input type="text" />
<a href="#">Home</a>
<a href="#">Products</a>
<a href="#">Gallery</a>
<a href="#">Stores</a>
<a href="#">Contact</a>
</form>
</div>
</div>
Step 5: Make a new search for ]]></b:skin> and just above it paste the below CSS code:
<style>
html { font-family: helvetica }
.navMenu {
height: 36px;
line-height: 36px;
width: 900px;
/* CSS 3 */
background-image: linear-gradient(bottom, rgb(170,170,170) 11%, rgb(238,238,238) 77%);
background-image: -o-linear-gradient(bottom, rgb(170,170,170) 11%, rgb(238,238,238) 77%);
background-image: -moz-linear-gradient(bottom, rgb(170,170,170) 11%, rgb(238,238,238) 77%);
background-image: -webkit-linear-gradient(bottom, rgb(170,170,170) 11%, rgb(238,238,238) 77%);
background-image: -ms-linear-gradient(bottom, rgb(170,170,170) 11%, rgb(238,238,238) 77%);
background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0.11, rgb(170,170,170)), color-stop(0.77, rgb(238,238,238)) );
border-radius: 5px;
}
.navMenu a {
color: #333;
border-right: 1px solid rgba(255,255,255,.5);
display: inline-block;
float: left;
font-size: 12px;
padding: 0 15px;
text-align: center;
text-shadow: 0 1px 1px #FFF;
text-transform: uppercase;
text-decoration: none;
width: 115px;
/* CSS3 */
-webkit-transition: 0.3s;
-moz-transition: 0.3s;
-o-transition: 0.3s;
transition: 0.3s;
}
.navMenu a:hover { background-color: rgba(0, 0, 0,.05) }
.navMenu input {
background: url(http://cssdeck.com/uploads/media/items/4/4yK4Jqj.jpg) 5px center no-repeat #FFF;
border: 1px solid #AAA;
color: #666;
float: right;
font-size: 11px;
margin: 7px 32px 0 0;
opacity: 0.6;
outline: none;
padding: 3px 5px 3px 20px;
width: 80px;
/* CSS3 */
border-radius: 5px;
-webkit-transition: 0.3s;
-moz-transition: 0.3s;
-o-transition: 0.3s;
transition: 0.3s;
}
.navMenu input:hover { opacity: 1 }
.navMenu input:focus {
opacity: 1;
width: 180px;
}
.navMenu input:focus ~ a { width: 95px }
</style>
Step 6: Click on save template and you are done successfully!
Customization:
- Replace hashes(#) with likes of your pages.
- To change name of any button/tab replace its name with desired name for example if you wish to change products to tips and tricks, simple replace it with tips and tricks in the code used in step # 4. The overall code should look like below code:
<div>
<div class="navMenu expander">
<form action="">
<input type="text" />
<a href="#">Home</a>
<a href="#">Products</a>
<a href="#">Gallery</a>
<a href="#">Stores</a>
<a href="#">Contact</a>
</form>
</div>
</div>
- To change width or height of the menu make changes in highlighted piece of code used is in step # 5
Basic customization is discussed above, if you wish to make further customization feel free to ask me in comments below.
Share you experience with me by giving feedback below. Follow by Email to get instant updates about blogger menus in your inbox. Share this post with others and help me spread 101Helper.
Search tags: Apple style horizontal menu for blogger with search box, neat and clean menu for blogger, Stylish menu with search box for blogger, Apple style menu for blogger, simple horizontal menu for blogger, get free menus for blogger, 101Helper menus for blogger blog.