• Resolved miinalee

    (@miinalee)


    Hi the comment bubble super great to increase my blog engagement, but the behaviour that automatically scrolled to the bottom of the page are making users kinda have to work their work up to the last part in the article that they read, it taking too much time sometimes in the long content article. Is it possible to stop the bubble from scrolling down and make it static?

Viewing 1 replies (of 1 total)
  • Plugin Support gVectors Support

    (@gvectorssupport)

    @miinalee,

    Please follow the steps below.

    1 Put this code in the active theme functions.php file:

    add_action('wp_enqueue_scripts', function () {
        $wpdiscuz = wpDiscuz();
       wp_enqueue_script( 'wpd-custom-js', get_template_directory_uri() . '/assets/js/custom.js', array($wpdiscuz->options->general["loadComboVersion"] ? 'wpdiscuz-combo-js' : 'wpdiscuz-ajax-js'), null, true);
    });

    2. Create a new file called custom.js in the active theme /assets/js/ folder.

    3. Put the code below in the custom.js file (created in step 2):

    jQuery('#wpd-bubble').on('click', function (e) {
        e.preventDefault();
        e.stopPropagation();
        return false;
    });
Viewing 1 replies (of 1 total)

The topic ‘Stop Comment Bubble from Scrolling’ is closed to new replies.