Support Forums

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro Customizing select

Tagged: , ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • laboussole

    After the checkboxes, now is the select menu I would like to customize.

    I would like the one on this page:
    looks like this one:

    Could you tell me again which classes to modify?

    Thanks in advance!

    Trevor Moderator

    The problem that you face is that demo you show actually copies the original select form element and replaces it with a DIV based structure. There are a number of steps you need to take to go down that route.

    Firstly, go to Wp admin -> Search and Filter -> Settings and change the Combobox script to select2.

    Then, you need to go to the Select2 documentation and apply Select2 to each of the fields in the form (use the class sf-input-select to target them). I think that the jquery would look like this:


    You may need to set some options on that as well.

    Then you can start to style the fields.

    Search and Filter includes the files needed for Select2 to work, and also some default styling.


    Thank you for your answer! But actually, it’s too complicated for me.

    I would especially like to change the select option: is it possible to modify only css, even if it means less customization?

    Trevor Moderator

    Standard select boxes do not allow much by way of customisation, and their styling varies depending on browser.

    Try adding this plugin:

    And then add the javascript I gave you and see if that works?


    Ok, I got it!

    Your js seems to work. I’ll try to style it now.

    Thanks again!

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

You must be logged in to reply to this topic.