Notifications
Clear all

White line of about 1cm high bottom page

2 Posts
2 Users
1 Reactions
1,261 Views
(@blackboxz)
Member Customer
Joined: 7 years ago
Posts: 1
Topic starter  

Hello,

Since updating to 5.1.0 I have a 1cm high extra white page at the bottom of the page.

Haha I don't find the words to make this more sense...anyhow...I attach a screenshot.

Hope this can be fixed?

Regards, Eric

Screenshot 2018 05 26 om 01.59.53

   
Quote
(@edward)
Active Member
Joined: 9 years ago
Posts: 16
 

The answer of the developers:

We'll fix this in next version.

For now, I provide you temporarily solution. Put this code in your current active 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;
       }
   }
}

   
BlackBoXz reacted
ReplyQuote
Share:
Scroll to top