Floating widgets like floating navigation menu, Floating share buttons orfloating social icons are very popular these days. It is very easy to add these floating widgets to your blogger blogs. We can create any floating widget with help of CSS code. In this posts we will discuss about adding a floating dropdown navigation menu to blogger blogs.
Benefits of adding floating dropdown menu to blogger :
Navigation menu is an essential part of any blog or website. It helps visitors to easily navigate throughout the whole blog. A dropdown navigation menu is a simple horizontal menu with an extra dropdown list. This extra list helps in adding more number of links to your navigation menu. Suppose if you have large number of post categories in your blog then a simple horizontal navigation menu will fail to provide required space to your links. That is why using a dropdown navigation menu is a better choice rather then using a simple horizontal menu. Having a floating dropdown menu in your blog is another plus point because accessing a floating dropdown menu is very easy. It always remains on top of the blog whether the visitor scrolls the blog up or down. So to make your blog`s navigation system easily accessible for your visitors you must use floating dropdown navigation menu on your blogger blogs.Features of our floating dropdown menu
- Light weight CSS code which do not effect your blog`s loading speed.
- In built Social media icons.
- Beautiful CSS color gradients are used for menu design.
- Easy to add and customize.
Adding Floating dropdown menu to blogger
- Login to your blogger dashboard.
- Select your blog.
- Select Template option.
- Click Edit HTML.
- Find </head> in the template code.
- Paste following code just below it and save the template.
- Preview your blog to see the new floating dropdown menu in action.
Code for floating dropdown menu :
<style> #wctopdropcont{ width:100%; height:40px; display:block; padding:0; margin:0 0 22px 0; z-index:100; top:0px; left:0px; position:fixed; box-shadow:2px 2px 5px #444444; -moz-box-box-shadow:2px 2px 5px #444444; -web-kit-box-shadow:2px 2px 5px #444444; -goog-ms-box-shadow:2px 2px 5px #444444; background:#f84245; } #wctopdropnav{ float:left; width:700px; height:40px; display:block; padding:0; margin-left:40px; } #wctopdropnav ul{ float:left; margin:0; padding:0; } #wctopdropnav li{ float:left; list-style:none; line-height:40px; margin:0; padding:0 background:#f84245; } #wctopdropnav li a, #wctopdropnav li a:link{ color:#fff; display:block; margin:0; font:13px georgia, verdana; padding:10px; text-decoration:none; } #wctopdropnav li a:hover, #wctopdropnav li a:active, #wctopdropnav .current_page_item a { color:#fff; padding:10px; background: rgb(180,223,91); /* Old browsers */ background: -moz-linear-gradient(top, rgba(180,223,91,1) 0%, rgba(180,223,91,1) 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(180,223,91,1)), color-stop(100%,rgba(180,223,91,1))); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, rgba(180,223,91,1) 0%,rgba(180,223,91,1) 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, rgba(180,223,91,1) 0%,rgba(180,223,91,1) 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, rgba(180,223,91,1) 0%,rgba(180,223,91,1) 100%); /* IE10+ */ background: linear-gradient(to bottom, rgba(180,223,91,1) 0%,rgba(180,223,91,1) 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b4df5b', endColorstr='#b4df5b',GradientType=0 ); /* IE6-9 */ } #wctopdropnav li li a, #wctopdropnav li li a:link, #wctopdropnav li li a:visited{ font-size: 13px; background:#f84245; color: #fff; width: 150px; margin: 0; padding: 0px 10px; line-height:30px; position: relative; } #wctopdropnav li li a:hover, #wctopdropnav li li a:active { color: #fff; background: rgb(180,223,91); /* Old browsers */ background: -moz-linear-gradient(top, rgba(180,223,91,1) 0%, rgba(180,223,91,1) 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(180,223,91,1)), color-stop(100%,rgba(180,223,91,1))); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, rgba(180,223,91,1) 0%,rgba(180,223,91,1) 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, rgba(180,223,91,1) 0%,rgba(180,223,91,1) 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, rgba(180,223,91,1) 0%,rgba(180,223,91,1) 100%); /* IE10+ */ background: linear-gradient(to bottom, rgba(180,223,91,1) 0%,rgba(180,223,91,1) 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b4df5b', endColorstr='#b4df5b',GradientType=0 ); /* IE6-9 */ } #wctopdropnav li ul{ z-index:9999; position:absolute; left:-999em; height:auto; width:170px; margin:0px; padding:0px } #wctopdropnav li:hover ul, #wctopdropnav li li:hover ul, #wctopdropnav li li li:hover ul, #wctopdropnav li.sfhover ul, #topwctopdropnav li li.sfhover ul, #topwctopdropnav li li li.sfhover ul{ left:auto } #wctopdropnav li:hover, #wctopdropnav li.sfhover{ position:static } #wctopdropsoc { float:right; width:220px; padding:0px 0px ; margin:9px 10px 0px 0px; } #wctopdropsoc img { margin-left:5px; margin-top:-2px; height:26px; border:none; } </style> <div id='wctopdropcont'> <div id='wctopdropnav'> <ul> <li> <a href='http://ergwifi.blogspot.com/'>Home</a> </li> <li> <a href='#'>Love »</a> <ul> <li><a href='http://ergwifi.blogspot.com/search/label/Love'>Feelings</a></li> <li><a href='http://www.majheri.com/'>Nepali Literature</a></li> <li><a href='http://www.majheri.com/taxonomy/term/9'>Gajal</a></li> </ul> </li> <li> <a href='#'>Location »</a> <ul> <li><a href='http://www.whatismyip.com/'>your IP add</a></li> <li><a href='http://www.maplandia.com/nepal/midwest/bheri/surkhet/'>Surkhet</a></li> <li><a href='https://www.facebook.com/hamromalarani'>Malarani</a></li> <li><a href='https://maps.google.com/'>Google Map</a></li> </ul> </li> <li> <a href='#'>Gallery »</a> <ul> <li><a href='http://ergwifi.blogspot.com/p/gallery_21.html'>Photo Gallery</a></li> <li><a href='http://songspk.name/'>Hindi Songs</a></li> <li><a href='http://ergwifi.blogspot.com/search/label/MP3'>Best Songs</a></li> <li><a href='http://emp3world.com/'>English Mp3</a></li> <li><a href='https://www.youtube.com/'>Video</a></li> </ul> </li> <li> <a href='#'>Books »</a> <ul> <li><a href='http://ergwifi.blogspot.com/search/label/Documents'>Imp Documents</a></li> <li><a href='http://ergwifi.blogspot.com/search/label/Civil%20engineering'>Engineering</a></li> <li><a href='http://ergwifi.blogspot.com/search/label/Excel%20files'>Excel Files</a></li> <li><a href='http://ergwifi.blogspot.com/search/label/IELTS'>IELTS/TOFEL Test</a></li> <li><a href='http://www.astrosage.com/freekundali/home.asp'>Kundali </a></li> <li><a href='http://ergwifi.blogspot.com/search/label/Astrology'>Astrology </a></li> </ul> </li> <li> <a href='#'>News »</a> <ul> <li><a href='http://www.bbc.com/news/world/'>World News</a></li> <li><a href='http://www.bbc.co.uk/nepali/news/'>BBC Nepali</a></li> <li><a href='http://www.ekantipur.com/'>Kantipur</a></li> <li><a href='http://www.thehimalayantimes.com/'>Himalayan Times</a></li> </ul> </li> <li> <a href='#'>Tricks »</a> <ul> <li><a href='http://ergwifi.blogspot.com/search/label/facebook%20tips'>Facebook </a></li> <li><a href='http://ergwifi.blogspot.com/search/label/PC-tips'>PC-Trick </a></li> <li><a href='http://ergwifi.blogspot.com/search/label/Mobile'>Mobile </a></li> <li><a href='http://ergwifi.blogspot.com/search/label/Mobile'>CMD-Tricks </a></li> <li><a href='http://ergwifi.blogspot.com/search/label/Blog'>Blogger </a></li> <li><a href='http://ergwifi.blogspot.com/search/label/Notepad%20trick'>Notepad </a></li> <li><a href='http://ergwifi.blogspot.com/search/label/WI-FI%20hack'>Wifi Hacking </a></li> <li><a href='http://ergwifi.blogspot.com/search/label/Other'>Other</a></li> </ul> </li> <li> <a href='#'>Download »</a> <ul> <li><a href='http://ergwifi.blogspot.com/search/label/pc%20soft'>PC-Software</a></li> <li><a href='http://ergwifi.blogspot.com/search/label/Mobile%20apps'>Mobile Software </a></li> </ul> </li> <li> <a href='#'>About »</a> <ul> <li><a href='http://ergwifi.blogspot.com/p/hi-ergs-is-founded-at-2011-january-1.html'>This Blog</a></li> <li><a href='https://www.facebook.com/ergwifi'>My FB-Page</a></li> <li><a href='http://ergwifi.blogspot.com/p/contact.html'>Author</a></li> </ul> </li> <li> <a href='http://ergwifi.blogspot.com/p/contact-us.html'>Contact us</a> </li> </ul> </div> <div id='wctopdropsoc'> <a href='http://feeds.feedburner.com/WindroidClubblog' target='_blank'><img alt='Subcribe to our RSS feeds' src='http://2.bp.blogspot.com/-ea9ILzszTF0/UR3ySvlxd0I/AAAAAAAABMQ/4QBrWHbt0FU/s1600/feed.png'/></a> <a href='http://www.facebook.com/ergwifi' target='_blank'><img alt='Join Us on Facebook' src='http://1.bp.blogspot.com/-3wW_EmAR24w/UR3tVFL5fFI/AAAAAAAABLc/RMS76XM5sK8/s1600/fbb.png'/></a> <a href='https://twitter.com/ERGWIFI' target='_blank'><img alt='Follow us on Twitter' src='http://1.bp.blogspot.com/-wSCdvgK8Ctw/UR3tWusvgyI/AAAAAAAABL0/FY3nUvdlJx0/s1600/tww.png'/></a> <a href='https://plus.google.com/107334780196808616543' target='_blank'><img alt='Add to Circles' src='http://1.bp.blogspot.com/-YWI0K2Ebh2Q/UR3tVS1gDhI/AAAAAAAABLk/8hYaD0Yur_k/s1600/gpp.png'/></a> </div> </div>
No comments:
Post a Comment
Please feel free to comment regards this post