• Resolved jaska120

    (@jaska120)


    Hi!

    Today I installed Jetpack comments to my website https://www.jaakkomustalahti.com. I am having issue with the comments box height. It just sticks there and it is having the free space under it even when you haven’t clicked to comment. Do you have any solutions to fix this? I am using my own created theme so am I messing something with css?

    Another question: Is it possible to have the comments box hidden and when clicking a link, example in metadata, the comments box could popup.

    Thanks, Jaska

    https://www.ads-software.com/extend/plugins/jetpack/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jaska120

    (@jaska120)

    I tested my site with TwentyEleven and comments worked ok. Any solutions for my code?

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Instead of adding the comment form on your front page, I would recommend calling comments_template only on single posts and pages.

    This way, the comment form won’t appear unless the users click on a “Leave a Comment” link on your home page.

    Twenty Eleven is indeed a good example. You can use its comment functions as an example for your theme.

    Let me know if it helps.

    Thread Starter jaska120

    (@jaska120)

    I changed the code to comments_template and added comments_popup_link to metadata. When I click on link it will lead to post (as it suppose to do) and comment form.

    Now the problem is that the Jetpack comments are not showing with the comments_template function. There is just a normal comment form.

    Thread Starter jaska120

    (@jaska120)

    Porblem solved. I copied Twenty Eleven’s comments.php file and used it instead. I also took some lines from Twenty Eleven’s functions.php to get comments working properly.

    Thanks you for good tip.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Comments height problem’ is closed to new replies.