How to remove space ( ) from the woof_list_checkbox
-
Hi, is there some way to remove unnecessary
from the woof_list_checkbox?Now I have:
<ul class="woof_list woof_list_checkbox"> <li> <input type="checkbox" disabled="" id="woof_40_566d4d0312793" class="woof_checkbox_term" data-tax="product_tag" name="Name" value="40"> <label for="woof_40_566d4d0312793">Name <span>(0)</span></label> <input type="hidden" value="Name" class="woof_n_product_tag_barbie"> </li> </ul>
But I need the same, but without
, like:<ul class="woof_list woof_list_checkbox"> <li> <input type="checkbox" disabled="" id="woof_40_566d4d0312793" class="woof_checkbox_term" data-tax="product_tag" name="Name" value="40"> <label for="woof_40_566d4d0312793">Name <span>(0)</span></label> <input type="hidden" value="Name" class="woof_n_product_tag_barbie"> </li> </ul>
Temporary I can remove this using jquery:
$('.woof li').each( function(){ $(this).html($(this).html().replace(/ /g, '')); });
But this solution is not best, because widget jumps while page is loading. So I want to somehow remove this unnecessary space, using back-end hack, but not using front-end scripts.
https://www.ads-software.com/plugins/woocommerce-products-filter/
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘How to remove space ( ) from the woof_list_checkbox’ is closed to new replies.