• Resolved Atavisionary

    (@atavisionary)


    I am using the latest version of wordpress and jetpack.

    I am having an issue with jetpack comments in that if the comment gets too long it causes the “post comment” button etc to be hidden and people can’t post their comments. I posted a support thread for the theme regarding this but as I have played with it I am starting to believe that the easiest solution would be to edit how jetpack comments are displayed in there. It should be set to add a scroll bar and I would also probably like to increase the default height. Using inspect element I found what I wanted to change but can’t figure out exactly where to do this. Can I make this change in my theme’s css? Please help.

    Here is my original support request if you are curious https://www.ads-software.com/support/topic/big-issues-with-people-not-being-able-to-post-comments/

    Also I uploaded a screen shot of the elements I want to change.

    https://atavisionary.com/wp-content/uploads/2017/08/scrolling-comments.jpg

    I noticed that the scrolling element is used and when I looked that up there were a whole bunch of warnings about that being obsolete.

    • This topic was modified 7 years, 6 months ago by Atavisionary. Reason: entered wrong website url

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter Atavisionary

    (@atavisionary)

    Alright, I figured it out. I had to go into my web host cpanel and edit comments.php.

    for ( var i = 0; i < commentForms.length; i++ ) {
    							commentForms[i].allowTransparency = <?php echo $transparent; ?>;
    							commentForms[i].scrolling = 'yes';
    						}
    

    I changed scrolling here from “no” to “yes”

    I also wanted the height of the box to get a bit longer so:

    
    $height           = $params['comment_registration'] || is_user_logged_in() ? '515' : '630'; // Iframe can be shorter if we're not allowing guest commenting
    
    

    I changed 315 to 515 and 430 to 630.

    I am happy with the result, mostly (the “post comment” can still get pushed off the screen, but the scroll bar lets you get to it at least). Hopefully this doesn’t cause any other problems.

    • This reply was modified 7 years, 6 months ago by Atavisionary.
Viewing 1 replies (of 1 total)
  • The topic ‘Adding a scroll bar and/or changing the height of comment forms’ is closed to new replies.