Hi Many,
Please download attach file and put in claue-child
1. result-count.php in claue-child > woocommerce > loop
2. archive-product.php in claue-child > woocommerce and add below code to claue-child > functions.php
add_action( 'wp_footer', 'filter_close_button_script' );
function filter_close_button_script() {
?>
<script>
(function( $ ) {
"use strict";
var wcInitChildSidebarFilter = function() {
$( 'body' ).on( 'click', '.filter-button', function(e) {
$( '.jas-filter-content' ).toggleClass( 'opened' );
$( '.jas-container' ).on( 'click', function() {
$( '.jas-filter-content' ).removeClass( 'opened' );
});
e.preventDefault();
});
}
$( document ).ready( function() {
wcInitChildSidebarFilter();
});
})( jQuery );
</script>
<?php
}
Btw, your support expired. Please renew you support at https://themeforest.net/item/claue-clean-minimal-woocommerce-theme/18929281 that will help us continue develop new features and improve our theme.
Thank and best regards!
Attachments:
You must be
logged in to view attached files.
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio