I created and added a custom x for the search menu drop down.
Currently the dropdown closes when you click off the menu, but my client want an X there so its clear to user how to close.
How do I make the X clickable and when its clicked it closes the window?
I have attached images for reference.
Here is the link: https://qfzs5aeot7aig68e-11985066.shopifypreview.com
didn't understand, clearly clarify it please,
<span class="header-navigation-slide-close-test active " style="display: block;"></span>
I need the function to be if you click the X, the search window closes.
I based this code: " <span class="header-navigation-slide-close-test active " style="display: block;"></span> " off of the code from the other menu on the left side (see attached image)
Does that clarify? Let me know if you need more information