Filter Option on mobile view

Hi,

Is there a way I can make the filter option available when one clicks on a button?

Thank You

If you mean showing the filters after user clicks on a button, you can add the button and add interactions there:

  • Trigger: Click
  • Action: Set attribute
  • Key: show_filters
  • Value: true
  • target: id of filters with # or class of filters with .

And then you add this CSS to your filter (probably only on mobile breakpoint):

%root% {
display: none;
}

%root%[show_filters="true"] {
display: block // or flex / grid;
}