How To Add 3D CSS Horizontal Menu to Blogger







UPDATE:  I updated some of my posts, this post I update 17+ Drop Down Menu Widget in Blogger - Horizontal Menus With CSS & HTML Codes........






Instructions To Follow:
STEP #1
Log in to Blogger, go to Layout -> Edit HTML
and mark the tick box "Expand Widget Templates"

STEP #2
Now find (CTRL+F) this code in the template:
</head>
And immediately before it, paste this code:



<style type='text/css'>
#tabs22 {
float:left;
width:100%;
background:#efefef;
font-size:93%;
line-height:normal;
border-bottom:1px solid #666;
}
#tabs22 ul {
margin:0;
padding:10px 10px 0 50px;
list-style:none;
}
#tabs22 li {
display:inline;
margin:0;
padding:0;
}
#tabs22 a {
float:left;
background:url(&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhT4hRiuuoNHqM7-IZ4sxs6KYrhJbuFXBIJqH3kKq76CyDjDRthE1JqBrtvcyhFwNyTm5LenO4qeOHF8rZZAJBmBpHYUQ1Vq1S61LE1hqqn7Di7RJUrejtltCLkPV3S-XkF2yUV1Sv6qNDr/&quot;) no-repeat left top;
margin:0;
padding:0 0 0 4px;
text-decoration:none;
}
#tabs22 a span {
float:left;
display:block;
background:url(&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGWqSqEDFFyRfKTTeoM-Ggci5bhsanmRwv-gQNgYPmvwkFC13ExWvEzh2Pu0HRvjCgUa9m44kQ8xq_R6tCaCzKh1Dz8SVpkI9L69g-plfiygpwf4TjSyha-e3bn4Uzr3km3bQJD3tu4IrS/&quot;) no-repeat right top;
padding:5px 15px 4px 6px;
color:#666;
}
#tabs22 a span {float:none;}

#tabsF a:hover span {
color:#FFF;
}
#tabs22 a:hover {
background-position:0% -42px;
}
#tabs22 a:hover span {
background-position:100% -42px;
}
</style>

Note : Please Host above 2 images yourself.


NOW CLICK SAVE TEMPLATE






STEP #1 Log in to Blogger, go to Layout




page-elements

Add a Gadget of HTML/JavaScript type.



image
Then add this code in to it:.

<div id="tabs22">

<ul>
<li><a href="#"><span>Home</span></a></li>
<li><a href="#"><span>HTML</span></a></li>
<li><a href="#"><span>CSS</span></a></li>
<li><a href="#"><span>Java Script</span></a></li>
<li><a href="#"><span>About</span></a></li>
<li><a href="#"><span>Contact</span></a></li>
<li><a href="#"><span>Privacy Policy</span></a></li>
</ul>

</div>


NOW CLICK SAVE



thanks to Lasantha Bandara  

No comments:

Post a Comment