Title: Active filter disable mobile menu
Last modified: September 24, 2024

---

# Active filter disable mobile menu

 *  [Lox87](https://wordpress.org/support/users/lox87/)
 * (@lox87)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/active-filter-disable-mobile-menu/)
 * Hello,
   I noticed that when I have an active filter, I cannot open the hamburger
   menu on mobile view.If I reset the filter, the mobile menu returns available.
   Any idea to resolve this issue?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Factive-filter-disable-mobile-menu%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [crodriguez1991](https://wordpress.org/support/users/crodriguez1991/)
 * (@crodriguez1991)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/active-filter-disable-mobile-menu/#post-18045372)
 * Hello there,
 * I hope you’re doing well :D.
 * Please, try to add the following code in the functions.php of your active theme:
 *     ```wp-block-code
       if( ! function_exists( 'yith_wcan_content_selector' ) ){    function yith_wcan_content_selector( $selector ){        $selector = '.page-content';        return $selector;    }    add_filter( 'yith_wcan_content_selector', 'yith_wcan_content_selector' );} 
       ```
   
 * It should change the filtered content section and prevent problems with the hamburger
   menu.
 * Please, try it and let me know.
 * Have a good day.
 *  Thread Starter [Lox87](https://wordpress.org/support/users/lox87/)
 * (@lox87)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/active-filter-disable-mobile-menu/#post-18045443)
 * Hello! Thank you for the answer! I tried it with no good results unfortunately
 * With a selected filter the hamburger mobile still not opens
 *  Plugin Support [Vanesa](https://wordpress.org/support/users/vanesarodriguez/)
 * (@vanesarodriguez)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/active-filter-disable-mobile-menu/#post-18049448)
 * Hello there!
   I have checked your site and I could see some errors display on 
   the console when you use the filter, it could be created by a conflict with the
   theme or another plugin.
 * I suggest you to make a test by disabling all of the plugins except for woocommerce
   and Ajax Product Filter while using a default wp theme and check if the issue
   persists. If it does not, start enabling back the plugins one by one to be sure
   if any of them is creating a conlfict.
 * Let us know.
 * We remain at your disposal.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Active filter disable mobile menu’ is closed to new replies.

 * ![](https://ps.w.org/yith-woocommerce-ajax-navigation/assets/icon-256x256.gif?
   rev=3129944)
 * [YITH WooCommerce Ajax Product Filter](https://wordpress.org/plugins/yith-woocommerce-ajax-navigation/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-ajax-navigation/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-ajax-navigation/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-ajax-navigation/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-ajax-navigation/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-ajax-navigation/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Vanesa](https://wordpress.org/support/users/vanesarodriguez/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/active-filter-disable-mobile-menu/#post-18049448)
 * Status: not resolved