This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

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 MarcinkoErnest 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:

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

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

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

.horizontal .resdrg {
display: flex !important;
flex-wrap: wrap;
}[/html]

..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.