How to access click event for search icon debut theme

New Member
1 0 0

I'm creating a Shopify theme from scratch. I want to mimic some of the behavior present in the Debut Theme.  I want to hide the search bar initially, but make it appear when I click the search icon. The problem is that I can't find the code containing the click event for the search icon. I have scoured theme.js (which contains 7500+ lines of code) with no luck. Any suggestions on where to find this code or the file containing the javascript controlling the click events??  

Shopify Expert
69 11 10

Hello there, 


Can you please share your store URL so that I can help you in doing the further JS changes.

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Custom Modifications In To Shopify Theme | Shopify Private App | SEO & Digital Marketing