A user working with Shopify’s Dawn theme wants to modify the default filter drawer behavior in two ways:
Primary Issue - Drawer Position & Animation:
Default filter opens right-to-left
Goal: Move to left side and animate left-to-right
Solution Provided:
A community member shared CSS code to add to Assets/base.css that:
Repositions the drawer using transform: translate(-105vw)
Moves the close button to the left
Adjusts margins for left-side alignment
The user confirmed this solution worked successfully.
Secondary Issue - Still Unresolved:
The user wants all filter options to display expanded by default (rather than collapsed in accordion format). One responder suggested modifying JavaScript controlling the accordion/details elements to set them open by default, but no specific code solution has been provided yet for this part.
Images show the current collapsed state versus the desired expanded filter options view.
Summarized with AI on October 31.
AI used: claude-sonnet-4-5-20250929.
To move the filter drawer on the left side and change the animation to open left to right, you will need to alter the CSS in your theme files. In the Dawn theme, locate the collection-filter-drawer component within your theme.css or base.css and set the right: 0 property to left: 0, and modify the animation keyframes (like translateX) to slide in from the left and not the right. This does take some proprietary coding, so if you’re not prepared to dive into CSS, I would recommend that you hire a Shopify developer to do it elegantly. In terms of opening the filter with all the options available, you can modify the JavaScript that controls the filter’s accordion, search for the collapsible or details elements in the filter code and set them to open by default.