• Resolved rytter1473

    (@rytter1473)


    I have recently changed my theme to the lovely Dapit Hapon 1.1. Now I’m making a few changes to it. You can see it at: https://www.meningsdanner.dk

    I’m no expert so I appoligize in adwance for anything silly.

    I’ve changed the main index file, so the posts are no longer showed only as excerpts, but in full text on the front page. And I’ve moved the “comments”-link down to the bottom of each post.

    My problem is now that when you click on the “comments”-link, the comments appear at the bottom of the post, but the screen focus doesn’t jump down to them – you have to scroll down.

    How do I make it jump down to the comments automaticly?

Viewing 3 replies - 1 through 3 (of 3 total)
  • How the system works is you link to #respond. When you add #(anything) to the end of a link it automatically makes the browser scroll to the element with the id that comes after the #. You need to have an element with the id ‘respond’ (no quotes). I did a quick look over your source and saw the div: <div class=”reply”>. You should change that to <div id=”respond” class=”reply”> and it should work.

    Thread Starter rytter1473

    (@rytter1473)

    Thanks a lot, problem solved! ??

    I have a similar/opposite problem actually. My comment jump down goes to the middle of comments instead of the bottom where the form is. I would like to remove the jumpdown completely. I tried a few reverse things with the tags mentioned here but haven’t found success yet.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Jumping down to comments doesnt work’ is closed to new replies.