How to: make filter options collapsible?

Deleted
From Unknown

Hi there, 

First of all, thank you for this project! This was one of the easiest to work with. There are some pieces that I cannot figure out on my own. 
Like how to make filter options collapsible. I have many filter categories, and on mobile it's overwhelming. So I am trying to hide the filters options (headers or all).  

Any hints, documentation or advice?

edited:
Added a jpg to clarify.. the yellow filter headers need to be the ahref/button which hide/show all the filter options under the header. My mouse-drawing-writing-skills are horrible :P

Deleted
From Unknown

Thanks! I was already researching that option, but after looking at it again I see what I am doing wrong. The div class form-control needs to be replaced (I just left it in.. so it collapsed but not like it should :P) 
tada

Moderator
From United States
Member since Oct 2019

mysc,

This is a fantastic idea.  Unless you're planning on releasing this as an add-on, care to share your solution for those of us not so well versed in CSS?

Thanks,
Marc

Deleted
From Unknown

Yes! Sorry for my late reply! I tried to reply a few weeks back but somehow I couldn't post (not here and not in a private message)
I will post the code in a few weeks (I have a deadline, up to my eyeballs in code..., and I need to redo the code as a proper-up-to-litecard-standard vqmod and not hard coded as I did now - because I am lazy)
But if you still have some patience you will be rewarded :P 

Bbasap

Moderator
From Lithuania
Member since Mar 2016

I don't think it a good idea to hide all attributes at once. Better UX is achieved hiding only a single attribute group.

LiteCart Fan
From Canada
Member since May 2021

How can I get the filters?

This thread has been closed due to long inactivity. Posting to it is not possible.
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.