Forums Forums Search & Filter Pro Drop Down Menu Hover Colour

Viewing 10 posts - 11 through 20 (of 23 total)
  • Anonymous
    #236817
    This reply has been marked as private.
    Trevor
    #236819

    Looking at the page, are you still using Chosen here (you should be using Select2):

    https://www.screencast.com/t/sxbnhaqngfg

    Anonymous
    #236843

    Yeah, I’m using select2.

    Trevor
    #236909
    This reply has been marked as private.
    Anonymous
    #236921

    Yes that’s right. The sidebar combobox code seems to display select2 when I test it.

    Anonymous
    #236923
    Trevor
    #236934
    This reply has been marked as private.
    Anonymous
    #236936

    Yeah I know. I just need to be able to hide the search box in the party size field. I applied the script that you kindly provided me but it doesn’t seem to work. That’s the only issue now. This was the code which I added to a custom text widget in the sidebar.

    <script>
    (function ( $ ) {
      $(document).on("sf:ajaxfinish", ".searchandfilter", function(){
        $('#search-filter-form-13155 .sf-field-taxonomy-partysize select.sf-input-select').select2();
      });
    }(jQuery));
    jQuery(document).ready(function($){
      $('#search-filter-form-13155 .sf-field-taxonomy-partysize select.sf-input-select').select2();
    });
    </script>
    Trevor
    #236940
    Anonymous
    #236946

    yeah i know. I just wanted the search box not to be visisble in the ‘party size’ drop down but visible in ‘all locations’ drop down. Sorry to be a nag but I don’t have a clue about this kind of thing. As you can see 🙂

Viewing 10 posts - 11 through 20 (of 23 total)