Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Filters into different columns instead of one long list › Reply To: Filters into different columns instead of one long list
October 10, 2019 at 12:48 pm
#24292
Keymaster
Hi,
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.