I am using Dawn theme with inbox chat enabled and google reviews widget enabled.
When i open the sidebar menu or the filter dialog in collection pages the chat and google widgets are on top on the menus which limits the functionality of the apply button in filter.
If you want to make it disappear when you open these menus and make appear when you close it just paste this code in your custom css field in the DAWN settings.
This is a helpful workaround for Dawn users who have both Shopify Inbox and Google review widgets enabled. Hiding those floating widgets while the mobile menu or collection filters are open prevents them from blocking important UI elements like the Apply button.
One thing worth mentioning is that your CSS relies on the :has() pseudo class. Most modern browsers support it now, but merchants using older browsers may not see the same behavior.
If someone still experiences the issue after applying your CSS, it’s also worth checking whether the third party widget provides its own z-index or positioning settings, as some apps inject floating elements with very high z-index values.
Thanks again for sharing it should be useful for other Dawn theme users running into the same problem.
If you found my reply helpful, feel free to mark it as the accepted solution so it can help other merchants following this discussion.
Here is the approach with z-index. Works the same. has() is supported by most modern browsers. Less code and effective. Only the google widget stays there. If you use it so you should use the other solution.