Support Forums

There is a new way to get support - via the support tab in your account.

Our support systems are changing, for the better. You'll be able to manage all your support requests from your account, and respond to any tickets via email.

These support forums are now closed - existing tickets will be closed after a month.

Forums Forums Search & Filter Pro Custom Select Dropdowns using JS?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Lars Faye
    #192544

    Hi there!

    LOVE the plugin, it always comes to my rescue. I have a client that wants to style the dropdowns pretty specifically and I think the only way to achieve this is to use javascript, something akin to this:

    https://www.w3schools.com/howto/tryit.asp?filename=tryhow_custom_select

    But from what I see, S&F uses pretty specific attributes applied to the various Options on the select dropdowns to drive the filtering function.

    What are my options here? Is it possible to style the dropdowns using JS so we can escape the ugly browser dropdown rendering?

    Trevor Moderator
    #192559

    I think the advice in this thread would be your best place to start:

    https://support.searchandfilter.com/forums/topic/customizing-select/

    Lars Faye
    #192615

    YES! I never realized that’s what a Combobox was, haha! Otherwise I would have went straight for that. Good to know. That did it and many nested classes later I have a fully styled dropdown that meets the client’s spec. Thanks Trevor, you created an amazing tool that just keeps on giving! 🙂

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Custom Select Dropdowns using JS?’ is closed to new replies.