Home Forums LZ Fashion Ecommerce Menu opens and closes Reply To: Menu opens and closes

#1354
kennetheknes
Participant

I didn’t find anything in the section-featured.php file, but I managed to fix the problem. In navigation.js I changed this code:

$(document).ready(function(){
$(“.product-cat”).hide();
$(“button”).click(function(){
$(“.product-cat”).toggle();
});
});

to this:

$(document).ready(function(){
$(“.product-cat”).hide();
$(“.product-btn”).click(function(){
$(“.product-cat”).toggle();
});
});

That way the .click function only targets the ALL CATEGORY button and not every button object.