Home Forums LZ Fashion Ecommerce Menu opens and closes

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1351
    kennetheknes
    Participant

    Hi.

    Bought the theme for a sales page I’m redesigning. I noticed that the “ALL PRODUCTS” menu opens and closes when using the scrolling buttons on FEATURED and RECENT PRODUCTS etc. I’ve tried to fix it myself, but haven’t found what causes the problem. Any help would be appreciated.

    Thanks!

    -K

    #1352
    User Support
    Participant

    Hello Sir,
    We have added that functionality on click of scroll buttons, . … you can fix it by changing code in section-featured.php file.
    Thank You.

    #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.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.