Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Just a few problems with visualization
This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko 6 years, 5 months ago.
- AuthorPosts
- November 13, 2017 at 9:29 am #15475
Hello,
i have a few problems which i don’t know how to solve. I have a few posts in different subcategories of one main category. Now i want to filter them for the subcategoeries. At the moment it looks like this:
https://www.earningpeople.com/geld-verdienen/freelancer/
My first problem is, i can’t activate the drop-down-menu for this filter. There are just checkboxes available for the categorie filter.
The second problem is, the result-boxes should have a bigger width and i can’t find the option to fix that. Also they should not displayed as slider. I want them in more rows and columns and all results with the same height, like a grid.
And is it possible to hide or rename the text “Filter by”?I hope my english is good enough to understand my issues.
Thank you very much in advance.
Bes regards
Jan MohrlokNovember 13, 2017 at 4:56 pm #15489Hi Jan,
Can you please check the URL you have sent? It leads me to a ‘page not found 404’ error page. Thank you!
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
November 13, 2017 at 9:12 pm #15497Hey,
yeah i’m sorry. Here is the right URL
https://www.earningpeople.com/verdienen/freelancer/Best regards
Jan MohrlokNovember 14, 2017 at 3:11 pm #15512Hi 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 :)
November 14, 2017 at 7:18 pm #15515It worked perfectly! Thank you very much!
Is there a way to make the width of the drop down menu a bit smaller?
Best regards
Jan MohrlokNovember 15, 2017 at 12:44 pm #15523You are welcome!
I believe the width is adjusted based on the text, but it should be possible:
Best,.searchsettings select { max-width: 200px !important; }
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.