Tri Nguyen
asked 8 years ago

Hi,
how can I Hide/Show the comment textbox in a Reply button, like in youtube, when you directly reply to a comment? It will be less confusing.
Thank

1 Answers
DominicStaff
answered 8 years ago

If your site building on the Bootstrap, you can open the comments.php file in the templates folder of the Q&A plugin and find around line 26:
Replace the following code: 

<?php dwqa_comment_form( $args ); ?>

With new code:

<button type="button" class="btn btn-info" data-toggle="collapse" data-target="#demo">Reply</button>
<div id="custom-collapse" class="collapse">
<?php dwqa_comment_form( $args ); ?>
</div>

 

Powered by DW Question & Answer Pro