Provável conflito em menu dropdown
Olá pessoal, inseri esse menu no meu tema, mas ele não está funcionando, minha intuição me diz que está havendo um conflito. A url do site é: Mãe do Mel, o dropdown se localiza no item: "Produtos". Toda ajuda é super bem vinda! Seguem os códigos:
HTML
<div id="menu">
<ul id="nav">
<li><a href="<?php echo site_url('/'); ?>">Início</a></li>
<li><a href="<?php echo site_url('/sobre-nos'); ?>">Sobre Nós</a></li>
<?php $args = array(
'orderby' => 'name',
'order' => 'ASC',
'title_li' => __( '<a href="#">Produtos</a>' )
);
wp_list_categories( $args ); ?>
<li><a href="<?php echo site_url('/noivas'); ?>">Noivas</a></li>
<li><a href="<?php echo site_url('/contato'); ?>">Contato</a></li>
</ul>
</div>
CSS
#menu{
bottom: 0;
left: 10px;
position: absolute;
z-index: 1000;}
#nav {
list-style: none;
margin: 0;
padding: 0; }
#nav li {
display: block;
float: left;
overflow: hidden;
position: relative;
z-index: 500; }
#nav li a {
color: #fff;
display: block;
font-size: 16px;
height: 30px;
padding: 10px 25px 0 25px;
text-align: center;
text-decoration: none;
text-transform: uppercase;
-moz-transition: all 0.5s;
-o-transition: all 0.5s;
transition: all 0.5s;
-webkit-transition: all 0.5s;}
#nav li:hover {
background: url(images/hover.png) center bottom no-repeat;
-moz-transition: all 0.5s linear;
-o-transition: all 0.5s linear;
transition: all 0.5s linear;
-webkit-transition: all 0.5s linear; }
#nav ul {
background: url(images/fundo-sub-menu.png) repeat-y;
border-radius: 0 0 10px 10px;
border: 1px solid #CBBDA3;
display: none;
left: 30px;
list-style: none;
margin: 0 0 0 -1px;
padding: 0;
position: absolute;
z-index: 100; }
#nav ul li {
border-bottom: 1px solid #CBBDA3;
float: none;
height: 25px;
margin: 0 10px;
padding-bottom: 5px;
width: 210px; }
#nav ul a {
color: #3D1704;
display: block;
font-size: 14px;
font-weight: normal;
padding: 5px 0;
text-align: left;
text-transform: none; }
#nav ul a:hover {
color: #CBBDA3;
background: none; }
*html #nav { margin: 0 0 0 -2px; }
jQuery
<script type="text/javascript" src="http://www.maedomel.com.br/wp-content/themes/maedomel/js/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function dropdown() {
$('#nav li').hover(
function () {
//show its submenu
$('ul', this).stop().slideDown(100);
},
function () {
//hide its submenu
$('ul', this).stop().slideUp(100);
}
);
});
</script>Discussão (3)
Carregando comentários...