Proposing a left-aligned slide out hamburger menu

Updates

I created another theme based on the customized one listed in the original post:

It is more generic, and supports i18n locales, but it still needs some cleaning and improvements though.
You might like to have a first look:


(The screenshot presents how it works with the official Material Design Theme)


(Original post)

Well…It is possible to implement it by reopen some widget and rewrite the hamburger menu in a theme with a script block of type “text/discourse-plugin”, but it may result in a large amount of unused code rendered to the user.

I agree that it is better to include the design into the core.

The simplest way is to reattach the menu button (#toggle-hamburger-menu) in the front of header. Nevertheless, a clear DOM structure of the menu itself should be better.

Actually, I’ve developed a theme for my own website for a few months.
Warning: The theme above contains a lot of non-internationalized, hard-coded string, and many dirty hacks / improper coding practices. (It supports only zh-cn :cold_sweat:)

10 Likes