- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 02.09.22, 13:53
- Opened by: Agnieszka
- Closed by: Anonymous Submitter
- Closed on:
- Reason: Not a bug
Ticket #23719 - Filter button on category page not working
Hello, I created custom category page. I used “Edit category products” widget and I want the filter button to show up. My issue is that when clicking the filter, nothing is showing up. Could you please help?
Comments
I’m going to set the category page to the default again. When you would like to check the issue, feel free to switch to my custom template.
Hi, Agnieszka.
You have to add Filter widget - https://take.ms/v8eHX
ummmmm….thank you very much Fred!!!
Fred, it works perfectly on desktop but there is an issue on tablets and mobiles. Only titles are shown but they’re not clickable and additional “Products Filter” button is shown.
https://snipboard.io/KgTSMs.jpg
When I click Filter button I see all options expanded - https://take.ms/uzAwm
Did you configure it?
This is so strange. Just checked it on different mobiles around all office haha. Everyone sees it like the screenshot I sent you: without expanded options
Ok, I see.
Try to add following CSS into Customer CSS section in the Theme Settings:
Thank you Fred. This solves the issue but you changed the category page template to default native theme. I created my own and I don’t want to have the filters in the column, but above the products and make them visible only when filter button is clicked.
Sorry, my bad. I missed the template is remain switched to default.
Try this CSS
Thank you. It works on mobile but stopped working on desktop
I think this css fixes this correctly
#search_filters .facet .collapse.in {
}
#search_filters .facet .collapse{display:block;}
h2.h6.active-filter-title{display:none;}
Thank you for sharing your solution, we will test it out
Thank you for all your help Fred!
You are welcome!