This tutorial provides the steps to set up a mobile responsive menu in Oxygen’s header using Burger Trigger and Slide Menu components of OxyExtras.

Live Demo

Step 1

If you have not already, enable Burger Trigger and Slide Menu components in OxyExtras’ settings.

Step 2

Edit your site wide Main catch all template with Oxygen.

Manual setup instructions follow. 1-click paste codes are provided near the end.

Add a Header Builder component if there’s not one already.

Add a Header Row with your logo at the left and Menu component at the right, if not already present.

Add a Burger Trigger component in Row Right below the Menu.

Burger Scale: 0.7.

Since we want this to only appear at a lower breakpoint, set its display to none (Advanced > Layout).

Decide on the breakpoint at which you would like the (expanded) menu to collapse to a hamburger. Let’s say it is 1120px. Switch to this breakpoint and set the display of Menu to none and display of Burger Trigger to block.

Add another Header Row and add a Slide Menu component in the center row. Select your menu if you have multiple. Set width to 100%.

Settings from the demo site:

1120px breakpoint:

Set “State on page load” to Hidden.

That’s it!

If you would like to paste the entire pre-built Header Builder from the demo site, install Hydrogen Pack or Hydrogen Paste, copy the code below and paste in your Template.

eyJzb3VyY2UiOiJodHRwczovL3NsaWRlbWVudS53cGRlbW8uZGV2IiwiY29tcG9uZW50IjpbeyJpZCI6MiwibmFtZSI6Im94eV9oZWFkZXIiLCJvcHRpb25zIjp7ImN0X2lkIjoyLCJjdF9wYXJlbnQiOjAsInNlbGVjdG9yIjoiX2hlYWRlci0yLTIyNSIsIm9yaWdpbmFsIjp7InN0aWNreS1tZWRpYSI6InBhZ2Utd2lkdGgiLCJzdGlja3lfc2Nyb2xsX2Rpc3RhbmNlIjoiMzAwIiwicGFkZGluZy10b3AiOiIxMCIsInBhZGRpbmctYm90dG9tIjoiMTAiLCJib3JkZXItdG9wLXdpZHRoLXVuaXQiOiIiLCJib3JkZXItcmlnaHQtd2lkdGgtdW5pdCI6IiIsImJvcmRlci1sZWZ0LXdpZHRoLXVuaXQiOiIiLCJib3JkZXItdG9wLXdpZHRoIjoiMCIsImJvcmRlci1yaWdodC13aWR0aCI6IjAiLCJib3JkZXItYm90dG9tLXdpZHRoIjoiMSIsImJvcmRl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features & example use cases.