Auto close product filter after another one is opened

This topic has 6 replies, 4 voices, and was last updated 1 months, 1 weeks ago ago by Andrew Mitchell

  • Avatar: carlyliczyk
    carliczyk
    Participant
    October 8, 2024 at 22:18

    Hello, we would like to auto close 1 filter once another filter is opened.

    Thanks for your help

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    October 9, 2024 at 07:18

    Hello, @carliczyk,

    Thank you for contacting us and for using XStore.

    We regret to inform you that we are unable to view the video you provided as the link has expired. Could you please verify the link and provide us with an updated one?

    Please record a video of the problem for a better understanding. Upload it on a filesharing service, for example – https://wetransfer.com/ , and provide us with URL.

    Thank you for your attention to this matter.

    Best Regards,
    8Theme’s Team

    Avatar: carlyliczyk
    carliczyk
    Participant
    October 9, 2024 at 07:26

    Video link in private area. Please let me know if you need anything else

    Thanks!

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    October 9, 2024 at 14:54

    Hi @carliczyk,

    Please try adding the following code under functions.php file locates in your child theme:

    
    add_action('wp_footer', 'n2t_wp_footer', 999);
    function n2t_wp_footer(){
        ?>
        <script>
            jQuery( function($){
                $(document).ready(function(){
                    $('p.widget-title').on('click touchend', function(){
                        $('.widget-has-toggle').addClass('widget-toggled');
                        $(this).parent('.widget-has-toggle').removeClass('widget-toggled');
                        $(this).parent('.widget-has-toggle').find('ul').slideDown();
                    })
                })
            });
        </script>
        <?php
    }
    

    Additionally, for any further custom requirements, you are welcome to contact our customization department through the following link:
    https://www.8theme.com/account/#etheme_customization_panel

    We appreciate your understanding and are here to assist with any further inquiries you might have.

    Best Regards,
    The 8Theme Team

    Avatar: carlyliczyk
    carliczyk
    Participant
    October 16, 2024 at 14:33

    This worked great. Thank you!

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    October 16, 2024 at 14:34

    Dear carliczyk,

    In the spirit of gratitude, we want to express our appreciation for your trust in our products. As a valued customer, your experience matters greatly. Would you consider sharing it by giving our theme a deserving 5-star rating on ThemeForest?

    Click here to share your thoughts: https://themeforest.net/downloads

    Being part of our community means a lot, and your feedback contributes immensely.

    Best Regards,
    The 8Theme Team

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘Auto close product filter after another one is opened’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.