Reply To: Just a few problems with visualization

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Just a few problems with visualization Reply To: Just a few problems with visualization

#15512

Ernest Marcinko
Keymaster

Hi Jan,

Thanks! I see you managed to change the filter layout to a drop down.

The horizontal layout you currently use does not support a multi row layout, only as a slider, similarly to the vertical layout.
However with a custom CSS you might be able to achieve that the scrollbar never actually activates and the items will wrap into lines:

div.ajaxsearchpro .mCSBap_horizontal.mCSBap_inside > .mCSBap_container {
    width: 100% !important;
}

..additionally, if you want a flexible layout, that shrinks/grows items on window size, then:

.horizontal .results .item {
    flex: 1 1 220px;
    max-width: 320px
}

.horizontal .resdrg {
    display: flex !important;    
    flex-wrap: wrap;
}

..of course you might need to experiment with the numbers there. This will result in something like this: https://i.imgur.com/GkXakmS.png

I hope this helps.

Best,
Ernest Marcinko

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