This topic has 2 replies, 2 voices, and was last updated 5 years, 9 months ago ago by Rose Tyler
The theme options allows to oper filter by default, but is it possible open filter by default in desktop mode and close filter in mobile mode ?
thanks
Hello,
By default, there is no such possibility.
To achieve the desired result, you need to copy archive-product.php files (xstore/woocommerce) into your child-theme/woocommerce folder and change (etheme_get_option('filter_opened'))
to (etheme_get_option('filter_opened') && !get_query_var('is_mobile'))
https://prnt.sc/mpwsz0 > https://prnt.sc/mpwx7i
Regards
You must be logged in to reply to this topic.Log in/Sign up