Skip to content
HubSpot CMS

A Cleaner Mobile Menu: Hamburger Fixes Across the Theme

Peerless menu modules got a tune-up: consistent hamburger placement across both menus, theme-aware icon colors, and a dead-code cleanup that removes a console error on every tap.

Small fixes, big difference on phones. The latest Peerless update tunes up both menu modules so mobile navigation behaves the same everywhere.

One hamburger position, both menus

The basic menu and the mega menu used to place their mobile toggles in different corners — one fixed top-left, one absolute top-right. They now share the same placement, so switching a site between menu styles no longer moves the most-tapped button on the page.

Theme-aware icon colors

The hamburger bars previously defaulted to a dark gray that disappeared against dark headers. They now default to the theme white token, matching the mega menu, and still follow the module text-color setting when one is set.

Dead code, deleted

The toggle also carried an inline onclick pointing at a function that no longer exists — harmless-looking, but it threw a console error on every tap. The listener that actually does the work stays; the ghost is gone. Class names were also normalized under the module prefix, which makes the CSS easier to trace and safer to override.

The takeaway

None of these changes add a feature. All of them remove friction — which is most of what theme maintenance is. If your theme has collected this kind of drift, a cleanup pass is cheaper than you think.

Comments