A user seeks to modify their e-commerce site’s filter display behavior on desktop. Currently, filters appear statically in the left pane, but they want filters to be hidden by default and only appear when users click a filter button (collapsible functionality).
Current Setup:
Static left-side filter panel visible at all times
Filter button exists on the right side (which they want to keep)
Desired Outcome:
Filters hidden by default on desktop
Clicking the filter button opens a collapsible left panel with filter options
Reference images provided showing the intended behavior
Solution Provided:
A community member offered CSS code to implement this functionality, targeting desktop viewports (min-width: 1025px). The code uses transform properties and the .open-mobile-sidebar class to control filter panel visibility and positioning.
Status: The discussion appears to have a proposed technical solution, though implementation confirmation is pending. The code snippet was partially corrupted in the original post.
Summarized with AI on November 3.
AI used: claude-sonnet-4-5-20250929.
Currently we have added filters and it shows on the left pane which is static. We wish to change this to a format where in filters are displayed on the left pane only when when someone clicks on filter button (something like a collapsible section).