I have a site without a menu in the navbar.
But, on mobile devices the toggle still shows.
This is easily fixed by implementing my own page.tpl.php but I think the navbar toggle should be inside an if statement the same way the navbar itself is.

CommentFileSizeAuthor
#2 bootstrap-mobilemenu-2396711-2.patch1.12 KB2pha

Comments

markhalliwell’s picture

Title: Navbar toggle on mobile when there is no menu » Navbar mobile toggle exists even with no menu items
Version: 7.x-3.0 » 7.x-3.x-dev
Category: Task » Bug report

Patches are welcome

2pha’s picture

Status: Active » Needs review
StatusFileSize
new1.12 KB

patch attached.

  • markcarver committed 2faf93d on 7.x-3.x authored by 2pha
    Issue #2396711 by 2pha: Navbar mobile toggle exists even with no menu...

  • markcarver committed e75bc35 on 8.x-3.x
    Issue #2396711 by 2pha: Navbar mobile toggle exists even with no menu...
markhalliwell’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.