Hi Raz,
We’ve seen this happen occasionally; as a quick check, can you switch to the default TwentyTwelve or TwentyThirteen theme temporarily, to see if the issue lies with your theme, somehow?
Thread Starter
Raz
(@razique)
Unfortunately, I cannot change it in production directly…
Simply removing
height: <?php echo $height; ?>px;
line 253 in modules/comments/comments.php did the trick.
The height is hard coded:
$height = $params['comment_registration'] || is_user_logged_in() ? '315' : '430'; // Iframe can be shorter if we're not allowing guest commenting
Why is that?
thanks !
Thread Starter
Raz
(@razique)
I also tried both scenarios, as being logged in and logged out (since div height is based on whether or not the user is registered if I’m not mistaken, and both work just fine.
If you set the height of the #commentform element via CSS to something like 200px, that should fix your issue.
Thread Starter
Raz
(@razique)
That did it, perfect.
Thanks Richard!
Thread Starter
Raz
(@razique)
Here is the best solution I found so far:
#commentform {
height: 87px;
transition: height 2s;
-webkit-transition: height 2s;
}
#commentform:hover {
height: 420px;
}
(@razique)
10 years, 2 months ago
Hi guys,
it’s been a while since this one is around, but I decided today would be a good day!
So basically, for a page on my website; let’s say:
http://www.fitforlife.fr/le-lundi-au-regime/
I’m using the Jetpack comment feature, with the transparent design. What happens is that there is this big white space (I guess it’s the box’ div):
https://www.dropbox.com/s/7t2mtzxo24xurg1/src%202014-02-06%20at%209.05.42.JPG
But when I click in the comment field, to leave a reply, the div size adjusts:
https://www.dropbox.com/s/pamnyiwmhpoi7c4/src%202014-02-06%20at%209.05.50.JPG
So my question is: can I adjust the DIV size as well, before clicking into the field, in order to remove this ugly white space?
thanks!
Raz
https://wordpress.org/plugins/jetpack/