# Reuse Discourse Hamburger Functionality

**URL:** <https://meta.discourse.org/t/reuse-discourse-hamburger-functionality/85578>\
**Category:** Product Support\
**Created:** [April 17, 2018, 9:42pm UTC](https://meta.discourse.org/t/reuse-discourse-hamburger-functionality/85578 "2018-04-17T21:42:12Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![sarahann](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sarahann/32/96703_2.png) [@sarahann](https://meta.discourse.org/u/sarahann)\
**Post date:** [April 17, 2018, 9:42pm UTC](https://meta.discourse.org/t/reuse-discourse-hamburger-functionality/85578/1 "2018-04-17T21:42:12Z")

</div>

Hello Discourse Team!

I am using the discourse CLI [Install the Discourse Theme CLI console app to help you build themes](https://meta.discourse.org/t/discourse-theme-cli-console-app-to-help-you-build-themes/82950) and the plugin API [A versioned API for client side plugins](https://meta.discourse.org/t/a-new-versioned-api-for-client-side-plugins/40051) to help me create my theme.

I have added a custom header in the header.html file. On mobile, I was hoping to create a hamburger menu that functions like discourse’s hamburger

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/e/6ec0452e0ded284f56454826b9aea1159a70efcb.jpg)  
But has completely different menu contents.

I could create the hamburger and menu with my knowledge of css/html/js. But I was hoping for a way to use the functionality that discourse has already implemented (opening, closing, etc..).

Any suggestions on how to achieve this?

- I thought maybe I would be able to extend the widget for the current navigation, change the settings, then attach it to the html I have written for my nav. But the connectors seemed to be predefined, and I wasnt sure how to connect my widget to my html. This might not be the right direction at all either…

---

_[View the full topic](https://meta.discourse.org/t/reuse-discourse-hamburger-functionality/85578)._
