Filters into different columns instead of one long list

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 Ernest Marcinko 4 years, 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #24274
    nathanstiteler23
    nathanstiteler23
    Participant

    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 – Thund3rb1rd

    Currently, 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?

    #24292
    Ernest Marcinko
    Ernest Marcinko
    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.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #24296
    nathanstiteler23
    nathanstiteler23
    Participant

    Thanks! I think that should work. Thanks a lot!

    #24301
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.