Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Filters into different columns instead of one long list
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 4 years, 1 month ago.
- AuthorPosts
- October 9, 2019 at 5:03 pm #24274
Hello – I currently have this website in a staging development setting, but you should be able to log into wordpress admin no problem. If you are getting blocked by another staging login, to get past that, you can use:
Username – tcsba
Password – Thund3rb1rdCurrently, my category filters are being displayed in one long column. I would like to display them differently, perhaps in two or three columns for appearance’s sake. Can you help?
October 10, 2019 at 12:48 pm #24292Hi,
I’m afraid that is not possible. Only separate taxonomies can be separated into different filter boxes. An alternative solution could be using a custom css to achieve a column layout, although it may require some adjustments as well:
fieldset.asp_filter_tax { min-width: 100% !important; } fieldset.asp_filter_tax>div { -webkit-column-count: 2; /* Old Chrome, Safari and Opera */ -moz-column-count: 2; /* Old Firefox */ column-count: 2; column-width: 50% !important; max-height: unset !important; height: 500px; } fieldset.asp_filter_tax .asp_option .asp_option_inner, fieldset.asp_filter_tax .asp_option .asp_option_label { display: inline-block !important; vertical-align: middle; }
It will result in something like this: https://i.imgur.com/KA7TniP.png
The height definitely needs to be adjusted – depending on the column count. This may not work as expected in every case, but it is as close as it gets.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
October 10, 2019 at 7:51 pm #24296Thanks! I think that should work. Thanks a lot!
October 11, 2019 at 8:45 am #24301You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.