Belle224
Member
Posted 1 year ago #
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!
Belle224
Member
Posted 1 year ago #
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.
Belle224
Member
Posted 1 year ago #
http://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)
Belle224
Member
Posted 1 year ago #
Belle224
Member
Posted 1 year ago #
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.
Belle224
Member
Posted 1 year ago #
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.
Belle224
Member
Posted 1 year ago #
Thanks, I don't really get it but thanks for trying. :)