Navigation Problem on Mobile

hello,

i have a problem with my navigation, its when i click on the burger menu the navigation does´t collapse :confused: Any help on that?

Here is my code:


	<nav class="navbar navbar-default navbar-fixed-top">
		<div class="container">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
					<span class="sr-only">Toggle navigation</span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</button>
				<a class="navbar-brand" href="<?php echo $site->url() ?>"><img src="<?php echo url('assets/images/logo4.svg') ?>" alt="<?php echo $site->title()->html() ?>" class="img-responsive" /></a>
			</div>
	    <div id="navbar" class="collapse navbar-collapse">
	<ul id="nav" class="nav navbar-right navbar-nav">
    <?php foreach($pages->visible() as $p): ?>
     	<li<?php e($p->isOpen() || ($p->uid() == 'winners' && $page->winner() == '1'),  ' class="active"') ?>>
			<a class="animsition-link" href="<?php echo $p->url() ?>"><?php echo $p->title()->html() ?></a>
		</li>
    <?php endforeach ?>
		<li><a href="<?php echo $pages->find("submit")->url() ?>" class="animsition-link"><button type="submit" class="btn btn-default btn_pt">submit</button></a></li>
	</ul>
</div>
</div>
	</nav>


Did you include the needed CSS and JS file(s) somewhere in the template or the called/used snippets?
Did your solution need another (local) JS to init the navigation?

Good luck!

Damm. Was the Bootstrap Link that was wrong. Now it works :slight_smile: