be rocket and Divi theme

[ad_1]

Plugin Author
RazyRx

(@razyrx)

Hello,

Please check this video to setup Divi Builder correct https://www.youtube.com/watch?v=4tkVYBelPKY

Regards,
Oleg

Thank you @razyrx I just solve my problem with a bit of code:

<script>
jQuery(document).ready(function($) {
    var resultsSection = $('#section-id'); // replace 'section-id' with ID of the section where the filter display.
    
    if (resultsSection.length) {
        // Cache la section des résultats par défaut
        resultsSection.hide();
        
        // Surveille les modifications apportées à la section des filtres
        $(document).on('DOMNodeInserted', '.berocket_single_filter_widget_253183', function() {
            // Si un filtre est appliqué, affiche la section des résultats
            if ($('.berocket_single_filter_widget_253183 input:checked').length > 0) {
                resultsSection.show();
                
                $('html, body').animate({
                    scrollTop: resultsSection.offset().top
                }, 1000);
            } else {
                // Sinon, masque la section des résultats
                resultsSection.hide();
            }
        });
    }
});
</script>

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer