Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Category dropdown not working
- This topic has 7 replies, 2 voices, and was last updated 1 year, 5 months ago by
Ernest Marcinko.
-
AuthorPosts
-
December 2, 2024 at 2:18 pm #52129
natachagj
ParticipantHey There,
We have a search filter on our website with category dropdown settings. But when we select any category from the dropdown without entering any keyword in the search bar, This doesn’t work. This is not redirecting me anywhere. I need this to be redirected to the category page if we only select a category from the dropdown without any search keyword.
Thank you.
December 2, 2024 at 2:32 pm #52130Ernest Marcinko
KeymasterHi!
To allow triggers on empty phrases, make sure that this option is set to 0: https://i.imgur.com/TXcYYxm.png
That will do the trick 🙂December 2, 2024 at 4:21 pm #52132natachagj
ParticipantHey there,
Thank you for your reply. I have tried this but this didn’t work. We are not using live trigger. We are using a search button that is redirecting to results page.
December 3, 2024 at 9:21 am #52142Ernest Marcinko
KeymasterRight now it redirects me to category pages of some sort when I select a category even with the empty phrase – however Ajax Search Pro does not do that, it should always redirect to the results page.
I assume you are using some sort of a custom code to make the category page redirection?December 3, 2024 at 10:09 am #52144natachagj
ParticipantYes, I have added some custom code today to do that. Thanks for your help.
December 3, 2024 at 10:31 am #52145Ernest Marcinko
KeymasterOh great then! You are welcome, have a great day!
December 9, 2024 at 10:36 am #52193natachagj
ParticipantI need some help in this ticket. Basically the mobile browser is replacing the select category dropdown with the mobile native dropdown UI and our css is not working there.
I have tried to add this property as well to disable the native UI property but this didn’t work as well.
body .asp_select_single select {
appearance: none !important;
-webkit-appearance: none !important;
-moz-appearance: none !important;
font-size: 12px !important;
border: 1px solid #ccc;
padding: 10px;
}December 9, 2024 at 11:16 am #52199Ernest Marcinko
KeymasterI’m afraid it’s not accidental – mobile devices have a built-in UI, which is not styled via CSS, but depends on the each individual system. Those are unfortunately impossible to override, as far as I know.
-
AuthorPosts
- You must be logged in to reply to this topic.