Mobile dropdown menu immediately disappears again


Whenever I try to click the menu on mobile (i.e. the hamburger menu) for my website, the menu drops down, but immediately pops back up again. This happens on Chrome and Edge on Windows 10, as well as Chrome on iOS.

How can I make it stay in place?

Website link here:


Edit: I am working with a child theme of Sydney, so it might be something with my js.

Never mind, I figured out the problem.

I had included a “stop slider script” in my functions.php because I wasn’t able to stop the main slideshow before:

function stop_slider_scripts() {
    get_stylesheet_directory_uri() . '/js/main.min.js',
    array( 'jquery' )

add_action( 'wp_enqueue_scripts', 'stop_slider_scripts' );

I think having two sets of JavaScript meant the menu got toggled twice each time it was clicked. Commenting out this section of code in my functions.php seems to have fixed this.


Great! I’m glad it’s resolved! If you need help with anything else, please open a new topic.

Have a nice day!

Kind Regards,