• chauhanheena

    (@chauhanheena)


    Hi,
    I am trying out the ajax filter.
    in a normal scenario, when I hover over the navigation menu, the sub-menu shows up.
    But on?https://www.vinodstainless.com/shop
    If I apply the filters and the results show up, when hovering over the navigation, the submenu does not show up. I have to reload the page so then the submenu works properly.
    Could you help with this?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Pablo Pérez

    (@pperez001)

    Hi there,

    In order to prevent our plugin to affect your navigation bar, add the following code in the functions.php of your theme:

    if( ! function_exists( 'yith_wcan_change_content_selector' ) ){
    
         function yith_wcan_change_content_selector( $selector ){
    
                  $selector = '.content';
    
                  return $selector;
    
         }     
    
         add_filter( 'yith_wcan_content_selector', 'yith_wcan_change_content_selector' ); 
    
    }

    After adding the code, please test again the filtering.

    Let me know if the code could help you.

Viewing 1 replies (of 1 total)
  • The topic ‘Submenu does not show up on hover once filters are applied.’ is closed to new replies.