Mobile menue not opening
did as specified, but the mobile menu does not open when window is resized
Are the buttons ID and nav hooked up? I had an similar issue issue but the issue with my IDs. Care to post your outputted HTML?
Thanks for responding here is the url of the site im designing
http://siegecommunications.com/clarko/
the html generated is
<code> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">Toggle navigation <span class="icon-bar"> <span class="icon-bar"> <span class="icon-bar"> </button>
where do i hook up the ID's
This issue is usually caused by a JavaScript error. Either your loading the bootstrap JS twice (the bootstrap shortcodes plugin does this) or the JS is not loading correctly. On Nov 11, 2014 9:24 AM, "Tawanda-m" [email protected] wrote:
Thanks for responding here is the url of the site im designing
http://siegecommunications.com/clarko/
the html generated is
Toggle navigation
where do i hook up the ID's
— Reply to this email directly or view it on GitHub https://github.com/twittem/wp-bootstrap-navwalker/issues/146#issuecomment-62572365 .
i have checked and bootsrap is only loaded once, i think the problem is with the nav bar code itself please see here
< nav class="navbar navbar-default" role="navigation">
< div class="container-fluid">
< !-- Brand and toggle get grouped for better mobile display -->
< div class="navbar-header">
< button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
< span class="sr-only">Toggle navigation
< span class="icon-bar">
< span class="icon-bar">
< span class="icon-bar">
< /button>
< a class="navbar-brand" href="">
< ?php bloginfo('name'); ?>
< /a>
< /div>
< ?php
wp_nav_menu( array(
'menu' => 'primary',
'theme_location' => 'primary',
'depth' => 2,
'container' => 'div',
'container_class' => 'collapse navbar-collapse',
'container_id' => 'bs-example-navbar-collapse-1',
'menu_class' => 'nav navbar-nav',
'fallback_cb' => 'wp_bootstrap_navwalker::fallback',
'walker' => new wp_bootstrap_navwalker())
);
?>
< /div>
< /nav>
You have a 404 error on http://siegecommunications.com/clarko/bootstrap/js/bootstrap.min.js.
mindctrl you are legend. there is absolutely no way i would have figured this out on my own. its working 100% now.
Thank you all on this thread for taking the time to help out