CSS3 Drop Down Navigation Menu For Blogger
This is just a simple but awesome looking drop down navigation menu for Bloggers or any other webpage. It's based on simple CSS3 and HTML codes. Some icons are also included with sub-menu's.
Let me show you how to implement this:
Step 1:
Go to your Blogger Dashboard > Template > Edit HTML
Step 2:
Find this skin code by pressing CTRL+F
]]></b:skin>
Step 3:
Paste this CSS code just before the skin tag:/* The CSS Code for the menu starts here zenkhas.blogspot.com */ .zenu_menu,.zenu_menu ul,.zenu_menu li,.zenu_menu a { margin: 0; padding: 0; border: none; outline: none; } .zenu_menu { height: 40px; width: 525px; background: #4c4e5a; background: -webkit-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%); background: -moz-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%); background: -o-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%); background: -ms-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%); background: linear-gradient(top, #4c4e5a 0%,#2c2d33 100%); -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } .zenu_menu li { position: relative; list-style: none; float: left; display: block; height: 40px; } .zenu_menu li a { display: block; padding: 0 14px; margin: 6px 0; line-height: 28px; text-decoration: none; border-left: 1px solid #393942; border-right: 1px solid #4f5058; font-family: Helvetica, Arial, sans-serif; font-weight: bold; font-size: 13px; color: #f3f3f3; text-shadow: 1px 1px 1px rgba(0,0,0,.6); -webkit-transition: color .2s ease-in-out; -moz-transition: color .2s ease-in-out; -o-transition: color .2s ease-in-out; -ms-transition: color .2s ease-in-out; transition: color .2s ease-in-out; } .zenu_menu li:first-child a { border-left: none; } .zenu_menu li:last-child a{ border-right: none; } .zenu_menu li:hover > a { color: #8fde62; } .zenu_menu ul { position: absolute; top: 40px; left: 0; opacity: 0; background: #1f2024; -webkit-border-radius: 0 0 5px 5px; -moz-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; -webkit-transition: opacity .25s ease .1s; -moz-transition: opacity .25s ease .1s; -o-transition: opacity .25s ease .1s; -ms-transition: opacity .25s ease .1s; transition: opacity .25s ease .1s; } .zenu_menu li:hover > ul { opacity: 1; } .zenu_menu ul li { height: 0; overflow: hidden; padding: 0; -webkit-transition: height .25s ease .1s; -moz-transition: height .25s ease .1s; -o-transition: height .25s ease .1s; -ms-transition: height .25s ease .1s; transition: height .25s ease .1s; } .zenu_menu li:hover > ul li { height: 36px; overflow: visible; padding: 0; } .zenu_menu ul li a { width: 100px; padding: 4px 0 4px 40px; margin: 0; border: none; border-bottom: 1px solid #353539; } .zenu_menu ul li:last-child a { border: none; } .zenu_menu a.documents { background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX-zZZl38d0FOXbvOiSdf-hQzzQBM8ahgQvSpIg1nQOIEPY8CJ1coUHgkYW627f8_ke0A1EpnvpaLHMl6xhOTvF5g6vT4ExQbq7UVEh3HFnezZVp0PiRy6E_2rU2T2QRxNlYA3yxw3Ovcv/s1600/docs.png) no-repeat 6px center; } .zenu_menu a.messages { background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjw6JQy6yugnlIJ8cMHMFVmvyyRMZ_t7o0kKip5rvX8AenPb2533fVAFJW7n-6jKW_H1V-ncLCzrdJtKkQhrNVbjDfH0R16q5IbRzNj5aOfpS2LaY7-b-73QlzZdcx0ugaRAjpPkGCeQRvp/s1600/bubble.png) no-repeat 6px center; } .zenu_menu a.signout { background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_NGxUH6-VnpfU2-S4wHY1QNw-nvauCu4upRmqGn7_i6F_O6zxH-bQXYkvExkqRA1EuhdWr29kjwyVxCeT0dSe0MSAeR6zzTnQtHoSxjxuYvxdTpbBAjy7pq31QUUko2No4FdJ85iDlRmd/s1600/arrow.png) no-repeat 6px center; }
Step 4:
Go to LayoutStep 5:
Click Add a Gadget and select HTML/JavaScript.Step 6:
Now paste this HTML code into it:<ul class="zenu_menu"> <li><a href="#">Home</a></li> <li><a href="#">Likes</a></li> <li><a href="#">Views</a> <ul> <li><a href="#" class="documents">Documents</a></li> <li><a href="#" class="messages">Messages</a></li> <li><a href="#" class="signout">Sign Out</a></li> </ul> </li> <li><a href="#">Uploads</a></li> <li><a href="#">Videos</a></li> <li><a href="#">About</a></li> <li><a href="http://zenkhas.blogspot.com/p/contact-us.html">Contact us</a></li> </ul>The default theme is black, to use other themes just change the CSS codes above:
Also Read: Shareholic Clone Social Sharing Widget For Blogger
More Themes
Blue
/* The CSS Code for the menu starts here zenkhas.blogspot.com */ .zenu_menu,.zenu_menu ul,.zenu_menu li,.zenu_menu a { margin: 0; padding: 0; border: none; outline: none; } .zenu_menu { height: 40px; width: 525px; background: #3B98EE; background: -webkit-linear-gradient(top, #42A4FF 0%,#39B1F5 100%); background: -moz-linear-gradient(top, #42A4FF 0%,#39B1F5 100%); background: -o-linear-gradient(top, #42A4FF 0%,#39B1F5 100%); background: -ms-linear-gradient(top, #42A4FF 0%,#39B1F5 100%); background: linear-gradient(top, #42A4FF 0%,#39B1F5 100%); -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } .zenu_menu li { position: relative; list-style: none; float: left; display: block; height: 40px; } .zenu_menu li a { display: block; padding: 0 14px; margin: 6px 0; line-height: 28px; text-decoration: none; border-left: 1px solid #1584EB; border-right: 1px solid #248DFF; font-family: Helvetica, Arial, sans-serif; font-weight: bold; font-size: 13px; color: #f3f3f3; text-shadow: 1px 1px 1px rgba(0,0,0,.6); -webkit-transition: color .2s ease-in-out; -moz-transition: color .2s ease-in-out; -o-transition: color .2s ease-in-out; -ms-transition: color .2s ease-in-out; transition: color .2s ease-in-out; } .zenu_menu li:first-child a { border-left: none; } .zenu_menu li:last-child a{ border-right: none; } .zenu_menu li:hover > a { color: #B662DE; } .zenu_menu ul { position: absolute; top: 40px; left: 0; opacity: 0; background: #5BB5FC; -webkit-border-radius: 0 0 5px 5px; -moz-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; -webkit-transition: opacity .25s ease .1s; -moz-transition: opacity .25s ease .1s; -o-transition: opacity .25s ease .1s; -ms-transition: opacity .25s ease .1s; transition: opacity .25s ease .1s; } .zenu_menu li:hover > ul { opacity: 1; } .zenu_menu ul li { height: 0; overflow: hidden; padding: 0; -webkit-transition: height .25s ease .1s; -moz-transition: height .25s ease .1s; -o-transition: height .25s ease .1s; -ms-transition: height .25s ease .1s; transition: height .25s ease .1s; } .zenu_menu li:hover > ul li { height: 36px; overflow: visible; padding: 0; } .zenu_menu ul li a { width: 100px; padding: 4px 0 4px 40px; margin: 0; border: none; border-bottom: 1px solid #81C1F3; } .zenu_menu ul li:last-child a { border: none; } .zenu_menu a.documents { background: url(http://1.bp.blogspot.com/-jexux1XWLhM/Uh-anjzHSnI/AAAAAAAAB8c/AEB-kw7yJVQ/s1600/docs-red.png) no-repeat 6px center; } .zenu_menu a.messages { background: url(http://2.bp.blogspot.com/-xdcdqS7j3RI/Uh-amn1D44I/AAAAAAAAB8E/6rWq8tq8wKs/s1600/bubble-red.png) no-repeat 6px center; } .zenu_menu a.signout { background: url(http://1.bp.blogspot.com/-TDHaxfgOch4/Uh-alNGGR8I/AAAAAAAAB7k/0MWEm0Wauw0/s1600/arrow-red.png) no-repeat 6px center; }
Green
/* The CSS Code for the menu starts here zenkhas.blogspot.com */ .zenu_menu,.zenu_menu ul,.zenu_menu li,.zenu_menu a { margin: 0; padding: 0; border: none; outline: none; } .zenu_menu { height: 40px; width: 525px; background: #14A300; background: -webkit-linear-gradient(top, #0BA318 0%,#05D13E 100%); background: -moz-linear-gradient(top, #0BA318 0%,#05D13E 100%); background: -o-linear-gradient(top, #0BA318 0%,#05D13E 100%); background: -ms-linear-gradient(top, #0BA318 0%,#05D13E 100%); background: linear-gradient(top, #0BA318 0%,#05D13E 100%); -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } .zenu_menu li { position: relative; list-style: none; float: left; display: block; height: 40px; } .zenu_menu li a { display: block; padding: 0 14px; margin: 6px 0; line-height: 28px; text-decoration: none; border-left: 1px solid #09CF29; border-right: 1px solid #108D2F; font-family: Helvetica, Arial, sans-serif; font-weight: bold; font-size: 13px; color: #f3f3f3; text-shadow: 1px 1px 1px rgba(0,0,0,.6); -webkit-transition: color .2s ease-in-out; -moz-transition: color .2s ease-in-out; -o-transition: color .2s ease-in-out; -ms-transition: color .2s ease-in-out; transition: color .2s ease-in-out; } .zenu_menu li:first-child a { border-left: none; } .zenu_menu li:last-child a{ border-right: none; } .zenu_menu li:hover > a { color: #B7F179; } .zenu_menu ul { position: absolute; top: 40px; left: 0; opacity: 0; background: #45DB5D; -webkit-border-radius: 0 0 5px 5px; -moz-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; -webkit-transition: opacity .25s ease .1s; -moz-transition: opacity .25s ease .1s; -o-transition: opacity .25s ease .1s; -ms-transition: opacity .25s ease .1s; transition: opacity .25s ease .1s; } .zenu_menu li:hover > ul { opacity: 1; } .zenu_menu ul li { height: 0; overflow: hidden; padding: 0; -webkit-transition: height .25s ease .1s; -moz-transition: height .25s ease .1s; -o-transition: height .25s ease .1s; -ms-transition: height .25s ease .1s; transition: height .25s ease .1s; } .zenu_menu li:hover > ul li { height: 36px; overflow: visible; padding: 0; } .zenu_menu ul li a { width: 100px; padding: 4px 0 4px 40px; margin: 0; border: none; border-bottom: 1px solid #1FC439; } .zenu_menu ul li:last-child a { border: none; } .zenu_menu a.documents { background: url(http://3.bp.blogspot.com/-FyBJC4uIY68/Uh-amoubk5I/AAAAAAAAB8I/TklS16utxUw/s1600/docs-green.png) no-repeat 6px center; } .zenu_menu a.messages { background: url(http://3.bp.blogspot.com/-NlaNPWHWgDE/Uh-alxC53PI/AAAAAAAAB74/Tz9GRgxxKGo/s1600/bubble-green.png) no-repeat 6px center; } .zenu_menu a.signout { background: url(http://1.bp.blogspot.com/-_qMtxWntVUw/Uh-akxw2ikI/AAAAAAAAB7o/sZatEaWRGrc/s1600/arrow-green.png) no-repeat 6px center; }
Red
/* The CSS Code for the menu starts here zenkhas.blogspot.com */ .zenu_menu,.zenu_menu ul,.zenu_menu li,.zenu_menu a { margin: 0; padding: 0; border: none; outline: none; } .zenu_menu { height: 40px; width: 525px; background: #F80000; background: -webkit-linear-gradient(top, #B60000 0%,#FF4F4F 100%); background: -moz-linear-gradient(top, #B60000 0%,#FF4F4F 100%); background: -o-linear-gradient(top, #B60000 0%,#FF4F4F 100%); background: -ms-linear-gradient(top, #B60000 0%,#FF4F4F 100%); background: linear-gradient(top, #B60000 0%,#FF4F4F 100%); -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } .zenu_menu li { position: relative; list-style: none; float: left; display: block; height: 40px; } .zenu_menu li a { display: block; padding: 0 14px; margin: 6px 0; line-height: 28px; text-decoration: none; border-left: 1px solid #FF0000; border-right: 1px solid #AD6F7E; font-family: Helvetica, Arial, sans-serif; font-weight: bold; font-size: 13px; color: #f3f3f3; text-shadow: 1px 1px 1px rgba(0,0,0,.6); -webkit-transition: color .2s ease-in-out; -moz-transition: color .2s ease-in-out; -o-transition: color .2s ease-in-out; -ms-transition: color .2s ease-in-out; transition: color .2s ease-in-out; } .zenu_menu li:first-child a { border-left: none; } .zenu_menu li:last-child a{ border-right: none; } .zenu_menu li:hover > a { color: #FFF0BE; } .zenu_menu ul { position: absolute; top: 40px; left: 0; opacity: 0; background: #E63131; -webkit-border-radius: 0 0 5px 5px; -moz-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px; -webkit-transition: opacity .25s ease .1s; -moz-transition: opacity .25s ease .1s; -o-transition: opacity .25s ease .1s; -ms-transition: opacity .25s ease .1s; transition: opacity .25s ease .1s; } .zenu_menu li:hover > ul { opacity: 1; } .zenu_menu ul li { height: 0; overflow: hidden; padding: 0; -webkit-transition: height .25s ease .1s; -moz-transition: height .25s ease .1s; -o-transition: height .25s ease .1s; -ms-transition: height .25s ease .1s; transition: height .25s ease .1s; } .zenu_menu li:hover > ul li { height: 36px; overflow: visible; padding: 0; } .zenu_menu ul li a { width: 100px; padding: 4px 0 4px 40px; margin: 0; border: none; border-bottom: 1px solid #FF5959; } .zenu_menu ul li:last-child a { border: none; } .zenu_menu a.documents { background: url(http://1.bp.blogspot.com/-jexux1XWLhM/Uh-anjzHSnI/AAAAAAAAB8c/AEB-kw7yJVQ/s1600/docs-red.png) no-repeat 6px center; } .zenu_menu a.messages { background: url(http://2.bp.blogspot.com/-xdcdqS7j3RI/Uh-amn1D44I/AAAAAAAAB8E/6rWq8tq8wKs/s1600/bubble-red.png) no-repeat 6px center; } .zenu_menu a.signout { background: url(http://1.bp.blogspot.com/-TDHaxfgOch4/Uh-alNGGR8I/AAAAAAAAB7k/0MWEm0Wauw0/s1600/arrow-red.png) no-repeat 6px center; }
Facebook Style
/* The CSS Code for the menu starts here zenkhas.blogspot.com */ .zenu_menu,.zenu_menu ul,.zenu_menu li,.zenu_menu a { margin: 0; padding: 0; border: none; outline: none; } .zenu_menu { height: 40px; width: 525px; background: #45619D; background: -webkit-linear-gradient(top, #45619D 0%,#6086D8 100%); background: -moz-linear-gradient(top, #45619D 0%,#6086D8 100%); background: -o-linear-gradient(top, #45619D 0%,#6086D8 100%); background: -ms-linear-gradient(top, #45619D 0%,#6086D8 100%); background: linear-gradient(top, #45619D 0%,#6086D8 100%); -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px; } .zenu_menu li { position: relative; list-style: none; float: left; display: block; height: 40px; } .zenu_menu li a { display: block; padding: 0 14px; margin: 6px 0; line-height: 28px; text-decoration: none; border-left: 1px solid #77A3FF; border-right: 1px solid #45619D; font-family: Helvetica, Arial, sans-serif; font-weight: bold; font-size: 13px; color: #f3f3f3; text-shadow: 1px 1px 1px rgba(0,0,0,.6); -webkit-transition: color .2s ease-in-out; -moz-transition: color .2s ease-in-out; -o-transition: color .2s ease-in-out; -ms-transition: color .2s ease-in-out; transition: color .2s ease-in-out; } .zenu_menu li:first-child a { border-left: none; } .zenu_menu li:last-child a{ border-right: none; } .zenu_menu li:hover > a { color: #FFF; } .zenu_menu ul { position: absolute; top: 40px; left: 0; opacity: 0; background: #FFF; border-width: 0px 1px 1px 1px; border-color: #6B91E4; border-style: solid; -webkit-border-radius: 0 0 5px 5px; -moz-border-radius: 0 0 0px 0px; border-radius: 0 0 0px 0px; -webkit-transition: opacity .25s ease .1s; -moz-transition: opacity .25s ease .1s; -o-transition: opacity .25s ease .1s; -ms-transition: opacity .25s ease .1s; transition: opacity .25s ease .1s; } .zenu_menu li:hover > ul { opacity: 1; } .zenu_menu ul li { height: 0; overflow: hidden; padding: 0; -webkit-transition: height .25s ease .1s; -moz-transition: height .25s ease .1s; -o-transition: height .25s ease .1s; -ms-transition: height .25s ease .1s; transition: height .25s ease .1s; } .zenu_menu li:hover > ul li { height: 36px; overflow: visible; padding: 0; } .zenu_menu ul li a { width: 100px; padding: 4px 0 4px 40px; margin: 0; border: none; border-bottom: 1px solid #D7E3FF; color: #7B9FEC; } .zenu_menu ul li a:hover { color: #7B9FEC; } .zenu_menu ul li:last-child a { border: none; } .zenu_menu a.documents { background: url(http://2.bp.blogspot.com/-GzZpurhLMZw/Uh-ammDn5-I/AAAAAAAAB8Q/ZtLy4-e66bo/s1600/docs-fb.png) no-repeat 6px center; } .zenu_menu a.messages { background: url(http://2.bp.blogspot.com/-r3y5G3Iic_w/Uh-al8aGZVI/AAAAAAAAB70/oU0UHHvxgxw/s1600/bubble-fb.png) no-repeat 6px center; } .zenu_menu a.signout { background: url(http://1.bp.blogspot.com/-rgQ-UAVYpDM/Uh-agzsQElI/AAAAAAAAB7c/5DCf9AtpW1M/s1600/arrow-fb.png) no-repeat 6px center; }Enjoy this awesome collection of Navigation menu's :)