Forums Forums Search & Filter Pro Using iCheck? Help needed

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anonymous
    #50734

    Hi,
    I need to use iCheck with your great plugin: can you give me any suggestion?
    When styleng the selects/checkboxes with iCheck the filter does not work.

    http://icheck.fronteed.com/

    Thank you in advance

    AD

    Trevor
    #50746

    It will need to be Ross that looks at this, when he can.

    Anonymous
    #50810

    Hello, now I’ve figured out how to “trigger” the search filter submission when using iCheck, and it works.

    Now I am encountering another issue: when the results are loaded iCheck doesn’t work anymore,and form has its default styling.

    Here is my code:

    jQuery(document).ready(function() { 
    
    	jQuery('input').iCheck({
        checkboxClass: 'purplebox_minimal',
        radioClass: 'purpleradio_minimal',
        increaseArea: '20%'
      	});
    	
    	jQuery('.sf-input-checkbox').on('ifToggled', function(event){
    
    	jQuery("#search-filter-form-696").submit();
    	
    	
    
    });
    
     jQuery(".sf-input-checkbox").trigger("iCheck");
    
    });
    Trevor
    #50881

    That sounds like you need to re-trigger it. I am not sure, but you might find some help in the first FAQ:

    https://www.designsandcode.com/wordpress-plugins/search-filter-pro/faqs/

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