- Original Poster
- #1
I can't seem to get the mobile menu to work on my WordPress theme?
It works on the demo of the theme but when I install it, on mobile, the hamburger menu just doesn't do anything?
The theme uses Bootstrap and is fully responsive. Everything else works great but when you shrink it, the hamburger menu appears and then it doesn't do anything when clicked on mobile or tablet.
I've tried deleting the old menu and adding a new one, I've tried adding one with custom links, then one with just the main pages automatically added to the menu. They appear fine on desktop.
Here's the menu code:
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span>
</button>
<a href="http://mysite.com" title="My Site" rel="home" class="navbar-brand">
<img src="http://mysite.com/wp-content/themes/stuffinafolder" alt="Logo" class="logo-icon" />
</a>
</div>
<div class="navbar-collapse collapse">
It works on the demo of the theme but when I install it, on mobile, the hamburger menu just doesn't do anything?
The theme uses Bootstrap and is fully responsive. Everything else works great but when you shrink it, the hamburger menu appears and then it doesn't do anything when clicked on mobile or tablet.
I've tried deleting the old menu and adding a new one, I've tried adding one with custom links, then one with just the main pages automatically added to the menu. They appear fine on desktop.
Here's the menu code:
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span>
</button>
<a href="http://mysite.com" title="My Site" rel="home" class="navbar-brand">
<img src="http://mysite.com/wp-content/themes/stuffinafolder" alt="Logo" class="logo-icon" />
</a>
</div>
<div class="navbar-collapse collapse">