Goal: add a hamburger menu to the Shopify Taste theme on desktop, aligned top-left near the logo, and move the search icon to the left alongside login and cart. Current mobile/tablet behavior is correct.
Proposed approach: edit the theme’s header.liquid (Shopify’s header template) to define a new navigation block for the hamburger menu, then style it with CSS. The provided CSS includes classes like .mobile-nav (top/left positioning), .toggle-button, and .hamburger (three-bar icon using pseudo-elements), plus a checkbox-based toggle to show/hide .nav.
Technical notes: header.liquid is the file where the header layout and navigation markup live; the hamburger menu is a compact icon that reveals navigation; CSS controls positioning and visibility.
Open issues: a participant asked for clarification on exactly where in header.liquid to locate the existing navigation code and how the new menu markup should look, indicating the placement is unclear. Guidance on moving the search icon to the left was not detailed.
Status: no final resolution; code snippets are central to implementing the solution, and further instructions on exact code placement are needed.
To add a hamburger menu to your Taste theme on desktop and align it to the top left, you’ll need to make a few customizations to your theme’s code. Here are the steps you’ll need to follow:
Create a new navigation menu: From the “Edit code” page, go to “Sections” and then select “header.liquid.” Find the section of code that defines the existing navigation menu and create a new menu for your hamburger menu. For example:
Style the hamburger menu: To style the hamburger menu, you’ll need to add some CSS to your theme’s stylesheet.
I am going through the same issue, but don’t know exactly where to find the section of code that defines the existing navigation menu and create a new menu for your hamburger menu.
Could you clarify how this part would look, please? Thank you