Support » Fixing WordPress » moving comment reply above comments

  • Resolved nobleone


    I am using the Twenty Fourteen theme and in our Feedback section , I would like the leave a comment response window above all the comments so folks do not have to scroll to the bottom of the page to add a reply. Hopefully an easy fix, but could not find a solution so far in the forums. Since this site is a few years old, I know this WP site is set up with child themes, but could not find the right code to edit and/or add.

    Thanks much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • In twenty fourteen theme, there is comments.php file, you need to edit that file. There is function <?php comment_form(); ?> which you need to cut that and paste just below <div id="comments" class="comments-area"> this div, which makes the comments box appear above the comments.
    I recommend creating child theme and then editing template files, do not directly edit those files as you can lose your changed after upgrade.

    Thanks so much swayam! So, when I set this site up, I did create a Child Theme. So, do I simply add the code provided into the Editor section of the child theme Stylesheet css file?

    Not in stylesheet css file, this will go in comments.php file, copy the file from parent theme ( Twenty Fourteen theme ) and paste it in child theme and then make changes which i suggested.

    Thanks so much, worked perfectly!

    Sorry for the beginner questions, I setup this website years ago and forgot how child themes work. Very simple once you remember and know the code.

    Thanks again!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘moving comment reply above comments’ is closed to new replies.