Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter steven530

    (@steven530)

    Ah thanks, I did notice the touchstart trigger.

    Everything works as expected. You’ve been a great help, thanks Malihu!

    Regards,
    Steven.

    Thread Starter steven530

    (@steven530)

    Thanks Malihu,

    I’ve added your code to the footer.php file just before the closing body tags:

    <script>
    (function($){
    $(window).on(“load”,function(){
    $(document).on(“click”,”.primary-nav .menu-item ._mPS2id-h”,function(){
    $(“.mobile-hamburger-toggle.is-active”).trigger(“touchstart”);
    });
    });
    })(jQuery);
    </script>

    </body>
    </html>

    It still scrolls to the section but isn’t closing/toggleing the menu.

    Is the the right place to add the code, or maybe I doing something wrong?

    Thanks,
    Steven.

    Thread Starter steven530

    (@steven530)

    Hi Malihu,

    I have an outstanding issue using your plugin I hope you can help me with.

    It’s more of a theme issue – I’ve contacted them but they’re not getting back to me and I’m hoping you can cast an eye over it… when clicking a link on the Mobile Menu to the same page the menu should toggle but it doesn’t.

    I’ve Google’d it and have tried adding this to the ‘footer’ template file:

    <script type=”text/javascript”>
    jQuery(document).ready(function($){
    $(‘#li a’).on(‘click’, function(){
    $(“#nav”).hide();
    $(“#mobile-hamburger-toggle”).removeClass(“is-active”);
    });
    });
    </script>

    I’m assuming something like this should work but I may be struggling choosing the right CSS Selectors.

    What do you think, is the the correct approach?

    Thanks again,
    Steven.

    Thread Starter steven530

    (@steven530)

    That’s worked perfectly.

    Thanks a lot… I would’ve spent a couple of hours setting max-widths etc.

    I’ve left a review for your plugin.

    Thanks again Malihu.

    Rgds,
    Steven.

    Thread Starter steven530

    (@steven530)

    Hi Malihu,

    Fantastic, that’s worked, thanks for your help and the plugin.

    I just need to figure out how to get the themes default highlight and hover actions working and then I can start editing the content.

    Thanks again for your help.

    Rgds,
    Steven.

Viewing 5 replies - 1 through 5 (of 5 total)