Replace search bar with hamburger menu in search-bar.liquid

Highlighted
Tourist
9 1 1

Hey guys!

So I'm learning liquid and I have a bit of a weird question.

I'm working on the Minimal theme, and I'm wondering if there's any way I can replace the search bar with a hamburger menu? I basically want to know what code I should put into search-bar.liquid so that a fully functional hamburger menu shows instead of the search bar when I check the "show search bar" box in the header section.

Not sure if it makes sense to you, but it does serve a function in my specific case!

0 Likes