Search window opens on desktop but not mobile?

I have a search bar icon which opens/closes a Search window. This uses an open/close interaction to do so and it is placed within the navigation. This works perfectly on desktop, but for some reason the window won’t open on Tablet/Mobile breakpoints. Is this due to being within a hamburger interaction? Can anyone offer any ideas why this is happening?

Live Link

Webflow Link

1 Like

Hey @Bammedia ,

You can move the Search Bg element out of the navbar element as highlighted in the screenshot below and also edit the open search interaction to affect ‘All elements with this class’.

This would make sure the search is visible in the smaller breakpoints as well.

Hope this helps.

2 Likes

Hey @Bammedia , To make your search bar interaction work reliably across desktop, tablet, and mobile, you’ll want to restructure your search so it’s independent of the mobile nav’s internal mechanics. Here’s how to do it step-by-step:

1- Move Search BG Element out of nav-bar.

2- On the Nav Search (search bar icon) button click, update the interaction settings so that it targets All Elements with this Class (the top option in the dropdown).

3- Add a custom attribute role="search" to the element. This helps screen reader users by creating a clear landmark, allowing them to navigate directly to the search section.

2 Likes

Thank you so much for taking the time to respond… I will try your suggestions and revert back!! :folded_hands:

1 Like