Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter qrobert

    (@qrobert)

    Hello,

    Since there were no respond, i tried to fix the issue.

    I didn’t try to solve the issue with pretty checkbox but worked on my previous suggestion to add <label>.

    I replaced the line 126 inside Locateandfilter/includes/class-locate-and-filter-tools.php with :
    $str = '<div id="la-filter-'.$term->term_id.'" class="LA_filters_'.$selector.' '.$term_image_class.' "><label><input class="filter_term_'.$selector.'" type="'.$selector.'" id="'.$name.'" name="'.$name.'[]" value="'.$term->term_id.'" '.$status.'>'.$term_image.'<span class="filter_term_name">'.$term->name.'</span></label></div>';

    Just wrapped <input> and <span> inside <label> and now the text is clickable.

Viewing 1 replies (of 1 total)