• Resolved DoanL

    (@doan-luan)


    Hi there,

    After I update to latest version (5.1.0) and noticed that there is a space added to the bottom of the page.

    Let’s look at this screenshot: https://imgur.com/a/ZLRk0yP

    This issue does not appear on the post, only appears on the homepage, category, page, etc where there is no wpdiscuz added.

    Please check it.

    Thanks.

    • This topic was modified 5 years, 11 months ago by DoanL.
    • This topic was modified 5 years, 11 months ago by DoanL.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author gVectors Team

    (@gvectors-team)

    Please delete all cache, then delete all caches again and leave some URL. The screenshot s=don’t help us to debug it.

    Thread Starter DoanL

    (@doan-luan)

    I deleted all caches, but there is no change
    Please take a look at my site:

    Homepage (not OK): https://bytenota.com
    Post (OK): https://bytenota.com/javascript-convert-image-to-base64-string

    Thanks.

    Plugin Author gVectors Team

    (@gvectors-team)

    Ok, I see wpDiscuz CSS is not loaded on home page and it doesn’t hide the pop-up div. Please put this CSS code in your active WordPress theme CSS file:

    .lity-hide {
      display: none;
    }

    Also I’d recommend use some plugin to generate avatars based on author name. Such as WP First Letter avatar or use WordPress Built-in random avatar functions. The new wpDiscuz comment form looks better with commenter avatars.
    https://wpdean.com/wordpress-custom-avatar-plugins/

    Thread Starter DoanL

    (@doan-luan)

    Thanks and it works.

    Plugin Support gVectors Support

    (@gvectorssupport)

    Hi @doan-luan,

    We found the correct way to fix this issue. Please remove the CSS in the previous code. Put this code in your current active theme’s functions.php file:

    if (!function_exists('hide_empty_div') && function_exists('wpdiscuz')) {
       add_action('wp_footer', 'hide_empty_div');
    
       function hide_empty_div() {
           global $post;
           $wpd = wpdiscuz();
           if ($wpd && !$wpd->helper->isLoadWpdiscuz($post)) {
               $css = "<style>#wpdInfo{display:none;}</style>";
               echo $css;
           }
       }
    }

    We’ll fix this in next version release.

    Thread Starter DoanL

    (@doan-luan)

    OK, thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Another Design Error on v5.1.0 ?’ is closed to new replies.