• I’m making an image where this image is around the reply image, however, when threaded comments can’t be nested anymore, the “reply” text goes away, but the image stays. How can I get the image to go away when the “reply” text disappears because the threaded comments can’t show anymore?

    Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter Belle224

    (@belle224)

    Is there anyway I could do this like CSS, or PHP or something like that? D:

    Is there anyway I could do this like CSS, or PHP or something like that?

    difficult to tell without seeing what html and css are present in the comments.

    a link to your site, pointing to a post with comments and with this problem, might help to get you more replies.

    Thread Starter Belle224

    (@belle224)

    https://test.berrybellebee.co.cc/?p=1

    Here, and do you need coding from my CSS etc? But you could view the source if needed too. And there’s a test post by “Nina”, and threaded comments couldn’t nest anymore but yet the image is still displayed but not “reply” button.

    try to add this to style.css of your theme (either near the comment styles, or at the end):

    .depth-5 .reply { display:none;}

    (not widely tested)

    Thread Starter Belle224

    (@belle224)

    Thanks, it worked.

    Thread Starter Belle224

    (@belle224)

    Hm, I’m actually running into problems again. When I close comments, the reply button goes away, but the image stays. Any solution?

    Try placing the whole <div class=comments">[...]</div> block inside a <?php if ('open' == $post->comment_status) : ?>[...]<?php endif;?> conditional.

    Thread Starter Belle224

    (@belle224)

    Sorry, I’m a newbie when it comes to theme design, somewhat. Where would I insert that…?

    From what I can see, try looking in your theme’s single.php or comments.php files.

    Thread Starter Belle224

    (@belle224)

    Thanks, I don’t really get it but thanks for trying. ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Reply image not to show when threaded comments cannot nest anymore?’ is closed to new replies.