Mobile Toggle nav drop down menu not working
-
Hi
My jquery is not working thus my dropdown nav menu stopped working
/* Enqueue Scripts Begin */ wp_deregister_script( 'jquery' ); wp_enqueue_script( 'jquery', get_template_directory_uri() .'/js/jquery.min.js', array(), null, false); wp_deregister_script( 'bootstrap' ); wp_enqueue_script( 'bootstrap', get_template_directory_uri() . '/js/bootstrap.min.js', array( 'jquery' ), null, true); /* Enqueue Scripts End */ /* Enqueue Styles Begin */ wp_deregister_style( 'bootstrap' ); wp_enqueue_style( 'bootstrap', get_template_directory_uri() . '/css/bootstrap.min.css', false, null, 'all'); Here is the other code </head> <body class="home page-template-default page page-id-18"> <header class="dsfsdf"> <nav class="navbar navbar-default navbar-fixed-top u-not-logged-in"> <div class="container"> <div class="navbar-header"> <a href="/"> <span class="site-title">The How <i> Nerd</i></span><br> <span class="site-tagline"></span> </a> </div> <div id="mainnav" class="clearfix"> <button type="button" class="navbar-toggle btn-menu" data-toggle="collapse" data-target="#navbar-collapse"> <span class="sr-only">Toggle navigation </span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <nav id="navbar-collapse" class="collapse navbar-collapse"> <div class="menu-top-menu-container"><ul id="menu-top-menu" class="menu"><li id="menu-item-24116" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-home current-menu-item page_item page-item-18 current_page_item menu-item-24116"><a href="/"></a></li>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Mobile Toggle nav drop down menu not working’ is closed to new replies.