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

Category dropdown not working

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Category dropdown not working

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #52129
    natachagjnatachagj
    Participant

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

    #52130
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    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 🙂

    #52132
    natachagjnatachagj
    Participant

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

    #52142
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Right 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?

    #52144
    natachagjnatachagj
    Participant

    Yes, I have added some custom code today to do that. Thanks for your help.

    #52145
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Oh great then! You are welcome, have a great day!

    #52193
    natachagjnatachagj
    Participant

    I 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;
    }

    • This reply was modified 1 year, 5 months ago by natachagjnatachagj.
    • This reply was modified 1 year, 5 months ago by natachagjnatachagj.
    • This reply was modified 1 year, 5 months ago by natachagjnatachagj.
    #52199
    Ernest MarcinkoErnest Marcinko
    Keymaster

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

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.