When paging through comments, jump down to comments section

답변함

5 댓글

  • Christian Colding

    Hi Joel,

    You are absolutely right! We actually added it for Community posts, but overlooked articles. We'll add that there as well.

    0
  • Christian Colding

    Hi Joel,

    We've implemented it, so you it jumps down when using the pagination under article comments. In order for it to work, you need to specify where it should jump to. You do that by adding an ID called comments to the div like this:

    <section class="article-comments" id="comments">

    You decide yourself exactly where it should jump to as that can differ greatly from theme to theme.

    I hope that helps.

    0
  • Joel Hellman

    I just tested it out - small, but really nice improvement. No more mouse arm after perusing through long articles.

    Thanks for this.

     

    0
  • Brad Marshall

    Is it possible to do this for the `pagination` on the User Profile page or other places that `pagination` is used?

    0
  • Becca
    Zendesk team member

    Hi Brad - 

    This is should be implemented in both articles and Community posts for their comment sections in the default Copenhagen theme. As Christian mentioned, if you wanted to add it to other pages, you would need to customize the code of the specific template you want to add this behavior to. It appears to only be default behavior of the article and community post page as this is where you are most likely to have a lot of comments. 

    0

댓글을 남기려면 로그인하세요.

Zendesk 제공