• Resolved Lox87

    (@lox87)


    Selecting a filter make the header image and the related products at the bottom of the page disappear. A page refresh will make them up again but every time I select a filter this happens.

    I already tried to disable other plugins to see if any of them was causing conflicts.

    Any ideas?

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

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

    (@pperez001)

    Hi there,

    Our plugin was designed to filter the product located the product archive pages of WooCommerce ( Shop page, category pages, etc. ). I could see that you are including the filters in a custom page, which could lead into undesired results. To add into that, the page structure doesn’t contain the element with the ID “content” which is the default structure of WooCommerce, for that reason it is currently targeting the whole page, affecting your header, to fix this problem, please add the following code in the functions.php of your theme:

    if( ! function_exists( 'yith_wcan_content_selector' ) ){
    function yith_wcan_content_selector( $selector ){
    $selector = '.elementor > .elementor-element:has(.yith-wcan-filters)';
    return $selector;
    }
    add_filter( 'yith_wcan_content_selector', 'yith_wcan_content_selector' );
    }

    This should change the content selector of our plugin.

    Let us know if you still have problem.

    Thread Starter Lox87

    (@lox87)

    Thank you! This resolved the issue!

    Hi, i have similar issue, when selecting the a filter, my online chat icon disappears. i refresh brings it back, is there a way to resolve this?

    https://staging.pcshopper.co.za/laptops/laptops-laptops/business-laptops/

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.