hi guys , i'm new in here , let's get to the point of the problem ,
i've got some php coding and the css coding problem in making a dropdown menu. ok the condition now for the navigation menu is still static a.k.a it doesn't has any dropdown menu at all .. and i want to make it at least 1 category menu can be dropdown . this is what i want --> http://graphpaperpress.com/demo/ ( and chooce theme called " F8 " --> that's a dropdown i want to make ,) but so far all i can do is just like this :
this is i've edited on my header.php for the navigation menu :
and this is for the style.css for the navigation menu
and it result like this when i'm done edited my header.php -->
so i make 3 sub category down , test 1 , test 2 , test 3 , but the position is so mess up and after mouse over out from labels the dropdown from test1,test2,test3 still opened condition won't close or invisible , so guys , please help me , what should i do if i want to make the dropdown when mouse into inside labels it show a dropdown of the subcategory and when mouse over out of labels the dropdown will be invisible ? and how if i want to add some effect to that drop down , like invisible slowly or slowmotion invisible ?
i've got some php coding and the css coding problem in making a dropdown menu. ok the condition now for the navigation menu is still static a.k.a it doesn't has any dropdown menu at all .. and i want to make it at least 1 category menu can be dropdown . this is what i want --> http://graphpaperpress.com/demo/ ( and chooce theme called " F8 " --> that's a dropdown i want to make ,) but so far all i can do is just like this :
this is i've edited on my header.php for the navigation menu :
PHP:
<!-- Begin Navigation -->
<div id="navcontainer">
<ul id="navlist">
<li><a href="<?php echo get_settings('home'); ?>/" title="Return to the the frontpage">Home</a></li>
<li><a href="<?php echo get_settings('home'); ?>/archives/category/News/" title="News">News</a></li>
<ul>
<li><a href="<?php echo get_settings('home'); ?>/archives/category/Labels/" title="Labels">Labels</a>
<ul>
<li><a href="#nogo">test1</a></li>
<li><a href="#nogo">test2</a></li>
<li><a href="#nogo">test3</a></li>
</ul>
</li>
</ul>
<li><a href="<?php echo get_settings('home'); ?>/Galleries/" title="Galleries">Galleries</a></li>
<li><a href="<?php echo get_settings('home'); ?>/About/" title="About">About</a></li>
<li><a href="<?php echo get_settings('home'); ?>/Contact/" title="Contact">Contact</a></li>
</ul>
</div>
</div>
and this is for the style.css for the navigation menu
Code:
/************************* MASTHEAD ************************************/
.logo {height:100px; width: 350px;}
.pusher {cursor:pointer;}
#masthead { background: padding: 0;border-top:5px solid #000;}
#masthead h4 {margin:1em 0;font-weight: bold; text-transform: uppercase;width:100%;}
#masthead h4 a { color: #333; text-decoration: none; float:left;}
#masthead h4 a:hover {color:#000;}
#masthead span {color:#666;font-size:.8em;text-transform:lowercase;font-weight:normal;}
#masthead span.description {float:left;margin-left: 20px;padding-top:.2em;}
#masthead span.contact {float:right;line-height:1em;}
#masthead span.contact a:hover {color:#000;}
#navcontainer {padding: 0;font-family:"helvetica", Helvetica, Arial, sans-serif;text-align: right;background-color: #000;height:40px;margin:0 0 1em;}
#navlist {height:40px}
#navcontainer p {padding: 7px 7px 0px;font-family:"helvetica", Helvetica, Arial, sans-serif;font-size: 1em;font-weight: bold;}
/* to stretch the container div to contain floated list */
#navcontainer:after {content: ".";display: block;line-height: 1px;font-size: 1px;color:#000 ; transparent;clear: both;}
#navcontainer img {margin: 0;padding: 0;}
ul#navlist {list-style: none;padding: 0;margin: 0px;background-color: #000;font-size: 1em;}
ul#navlist li {text-align: left;float: left;height: 40px;margin: 0;background: #000;border-right:1px solid #ccc;padding: 0;}
ul#navlist li { width: 105px; voice-family: "\"}\""; voice-family:inherit; width: 119px;}
html>body ul#navlist li { width: 119px; }
ul#navlist li a {display: block;padding: 7px 5px 25px 7px;color: #eee;font-size: 11px;text-decoration: none;height: 1%;height:40px;text-shadow: 0 0 0 #000;}
#navcontainer>ul#navlist li a {width: auto;height: auto;height: 8px}
ul#navlist li#active a {background: #eee;color: #<?php echo $ss_nav_hover_color; ?>;}
ul#navlist li a:hover,ul#navlist li#active a:hover {color: #fff;background-color: #188618;}
ul#navlist li.home {border-left: none;}
ul#navlist li#empty {width: 120px;}
and it result like this when i'm done edited my header.php -->
so i make 3 sub category down , test 1 , test 2 , test 3 , but the position is so mess up and after mouse over out from labels the dropdown from test1,test2,test3 still opened condition won't close or invisible , so guys , please help me , what should i do if i want to make the dropdown when mouse into inside labels it show a dropdown of the subcategory and when mouse over out of labels the dropdown will be invisible ? and how if i want to add some effect to that drop down , like invisible slowly or slowmotion invisible ?