Aviso: Faça um Backup do seu template antes de Editalo NÃO ME RESPONSABILIZO por danos no mesmo
1. Veja Demo
1.1. Copie o CSS que esta destacado abaixo acima de ]]></b:skin>.
#navigationMenu li{
list-style:none;height:39px;
padding:2px;
width:40px;
}
#navigationMenu span{
/* Container properties */
width:0;
left:38px;
padding:0;
position:absolute;
overflow:hidden;
/* Text properties */
font-family:'Myriad Pro',Arial, Helvetica, sans-serif;
font-size:18px;
font-weight:bold;
letter-spacing:0.6px;
white-space:nowrap;
line-height:39px;
/* CSS3 Transition: */
-webkit-transition: 0.25s;
/* Future proofing (these do not work yet): */
-moz-transition: 0.25s;
transition: 0.25s;
}
#navigationMenu a{
background:url('http://i.imgur.com/qkYvd.jpg') no-repeat;
height:39px;
width:38px;
display:block;
position:relative;
}
/* General hover styles */
#navigationMenu a:hover span{ width:auto; padding:0 20px;overflow:visible; }
#navigationMenu a:hover{
text-decoration:none;
/* CSS outer glow with the box-shadow property */
-moz-box-shadow:0 0 5px #9ddff5;
-webkit-box-shadow:0 0 5px #9ddff5;
box-shadow:0 0 5px #9ddff5;
}
/* Green Button */
#navigationMenu .home { background-position:0 0;}
#navigationMenu .home:hover { background-position:0 -39px;}
#navigationMenu .home span{
background-color:#7da315;
color:#3d4f0c;
text-shadow:1px 1px 0 #99bf31;
}
/* Blue Button */
#navigationMenu .quemsomos { background-position:-38px 0;}
#navigationMenu .quemsomos:hover { background-position:-38px -39px;}
#navigationMenu .quemsomos span{
background-color:#1e8bb4;
color:#223a44;
text-shadow:1px 1px 0 #44a8d0;
}
/* Orange Button */
#navigationMenu .servicos { background-position:-76px 0;}
#navigationMenu .servicos:hover { background-position:-76px -39px;}
#navigationMenu .servicos span{
background-color:#c86c1f;
color:#5a3517;
text-shadow:1px 1px 0 #d28344;
}
/* Yellow Button */
#navigationMenu .portfolio { background-position:-114px 0;}
#navigationMenu .portfolio:hover{ background-position:-114px -39px;}
#navigationMenu .portfolio span{
background-color:#d0a525;
color:#604e18;
text-shadow:1px 1px 0 #d8b54b;
}
/* Purple Button */
#navigationMenu .contato { background-position:-152px 0;}
#navigationMenu .contato:hover { background-position:-152px -39px;}
#navigationMenu .contato span{
background-color:#af1e83;
color:#460f35;
text-shadow:1px 1px 0 #d244a6;
}
/* The styles below are only needed for the demo page */
#main{
margin:80px auto;
position:relative;
width:40px;
}
h1{
color:#fff;
font-size:30px;
font-weight:normal;
padding:60px 0 20px;
text-align:center;
}
h2{
font-weight:normal;
text-align:center;
}
h1,h2{
font-family:"Myriad Pro",Arial,Helvetica,sans-serif;
}
a, a:visited,a:active {
color:#0196e3;
text-decoration:none;
outline:none;
}
a:hover{
text-decoration:underline;
}
a img{
border:none;
}
p.note{
color:#707070;
font-size:10px;
text-align:center;
margin:50px;
}
----------------------------------------> FIM CSS <------------------------------------
2. Cole o HTML destaco a baixo no Lugar que você queira que o Menu apareça
<ul id='navigationMenu'>
<li><a class='home' href='#'>
<span>Home</span>
</a>
</li>
<li>
<a class='quemsomos' href='#'>
<span>Quem Somos</span>
</a>
</li>
<li>
<a class='servicos' href='#'>
<span>Serviços</span>
</a>
</li>
<li>
<a class='portfolio' href='#'>
<span>Portfolio</span>
</a>
</li>
<li>
<a class='contato' href='#'>
<span>Contatos</span>
</a>
</li>
</ul>
----------------------------------------------> Fim HTML <---------------------------------
Gostou? Comente e Vire Um Seguidor!!
0 comentários:
Postar um comentário