HomeНаука и техникаRelated VideosMore From: wikidg

How to make a drop down menu in blogger HTML+CSS

17 ratings | 1545 views
Friends thesr are few editing you need to know before putting this HTML to your Blogger :- 1 -( ' ') YOU NEED TO PUT THE URL WHERE YOU WANT TO SEND THE CLICK TO THAT BUTTON 2 -(Menu-1/2...) IS THE MENUE HEADING VISIBLE TO YOUR VIEWERS BEFORE SCRALLING TO THE MANUE BAR. 3 -(Submenu-1/2...)IS THE MENUE DROPDOWN VISIBLE TO THE VIEWERS AFTER SCRALLING TO THE MENUEBAR. THATS ALL NOW SEE THE HTML ============================================ !-- start navmenu -- ul id='cssnav' li class="active"a href='http://wikidg.blogspot.com/'Home/a/li li class="sub"a href=''Menu-1/a ul lia href=''Submenu-1/a/li lia href=''Submenu-2/a/li lia href=''Submenu-3/a/li /ul /li lia href=''Menu-2/a ul lia href=''Submenu-1/a/li lia href=''Submenu-2/a/li lia href=''Submenu-3/a/li lia href=''Submenu-4/a/li /ul /li lia href=''Menu-4/a ul lia href=''Submenu-1/a/li lia href=''Submenu-2/a/li lia href=''Submenu-3/a/li lia href=''Submenu-4/a/li lia href=''Submenu-5/a/li lia href=''Submenu-6/a/li /ul/li lia href=''Menu-5/a ul lia href=''Submenu-1/a/li lia href=''Submenu-2/a/li lia href=''Submenu-3/a/li /ul /li lia href=''Menu-6/a /li/ul !-- end navmenu -- ============================================ Now the CSS ++++++++++++++++++++++++++++++++++++++++++++ /* ----- CSS Nav Menu Styling ----- */ #cssnav { margin: 0px 0 0 -10px; padding: 0px 0px 0px 0px; width: 1050px; /* Set your width to fit your blog */ font: $(tabs.font); /* Template Designer - Change Font Type, Size, Etc */ color: $(tabs.text.color); /* Template Designer - Change Font Size */ } #cssnav ul { background: $(tabs.background.color) $(tabs.background.gradient) repeat-x scroll 0 -800px; _background-image: none; /* Template Designer - Change Menu Background */ height: 20px; /* Change Height of Menu */ list-style: none; margin: 0px; padding: 0px; } #cssnav li { float: left; padding: 0px; } #cssnav li a { background: $(tabs.background.color) $(tabs.background.gradient) repeat-x scroll 0 -800px; _background-image: none; /* Template Designer - Change Menu Background */ display: block; margin: 0px; font: $(tabs.font); /* Template Designer - Change Font Type, Size, Etc */ text-decoration: none; } #cssnav ul li a { color: $(tabs.text.color); /* Template Designer - Change Font Color */ } #cssnav ul ul a { color: $(tabs.text.color); /* Template Designer - Change Color */ } #cssnav li a:hover, #cssnav ul li:hover { color: $(tabs.selected.text.color); /* Template Designer - Change Font Color on Hover */ background-color: $(tabs.selected.background.color); /* Template Designer - Change Font Background on Hover */ text-decoration: none; } #cssnav li ul { background: $(tabs.background.color) $(tabs.background.gradient) repeat-x scroll 0 -800px; _background-image: none; /* Template Designer - Change Menu Background */ display: none; height: auto; padding: 0px; margin: 0px; position: absolute; width: 200px; /* Change Width Of DropDown Menu */ z-index:9999; } #cssnav li:hover ul { display: block; } #cssnav li li { background: $(tabs.background.color) $(tabs.background.gradient) repeat-x scroll 0 -800px; _background-image: none; /* Template Designer - Change Background */ display: block; float: none; margin: 0px; padding: 0px; width: 200px; /* Change Width Of DropDown Menu */ } #cssnav li:hover li a { background: $(tabs.selected.background.color); /* Template Designer - Change Background of Link on Hover */ } #cssnav li ul a { display: block; height: auto; margin: 0px; padding: 10px; text-align: left; } #cssnav li ul a:hover, #cssnav li ul li:hover a { color: $(tabs.selected.text.color); /* Template Designer - Change Text Color on Hover */ background-color: $(tabs.selected.background.color); /* Template Designer - Change Background on Hover */ border: 0px; text-decoration: none; } #blog-pager{clear:both;margin:30px auto;text-align:center; padding: 7px;} #blog-pager {background: none;}
Html code for embedding videos on your blog
Text Comments (5)
James G Palmer (6 months ago)
nice but not relevant with video thumbnail isn't ????? can you share a code in menu 1 >>sub menu 1 from another menu like sub menu 1a
Child Education care (6 months ago)
Download html code http://bloggtips24.blogspot.com/2018/04/how-to-create-drop-down-menu-in-blogger.html
Nagendra Prasad Gupta (1 year ago)
thanks wikidg
Nagendra Prasad Gupta (1 year ago)
wow nice it works good
wikidg (1 year ago)
hope this will be helpfull to all of you pls subscribe me for more updates

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.