Ferry
Active member
Hello everyone,
There is an issue with page scrolling when clicking links with the post-XXX anchor (e.g., test.com/threads/large-hadron-collider/post-3848). The problem occurs in Article threads when the post is the first and only post in the thread. In such cases, the page scrolls to the post's creation date instead of staying at the top of the page. As a result, the following elements are not visible:
When clicking a link to the first/only post in an Article thread, the page should open at the very top, ensuring the ad block, thread title, and breadcrumbs are visible.
There is an issue with page scrolling when clicking links with the post-XXX anchor (e.g., test.com/threads/large-hadron-collider/post-3848). The problem occurs in Article threads when the post is the first and only post in the thread. In such cases, the page scrolls to the post's creation date instead of staying at the top of the page. As a result, the following elements are not visible:
- The ad block at the top of the page,
- The thread title,
- The breadcrumbs.
When clicking a link to the first/only post in an Article thread, the page should open at the very top, ensuring the ad block, thread title, and breadcrumbs are visible.
- How can I properly configure page scrolling for Article threads?
- Is there a built-in solution for this issue in XenForo?
- Which selectors or attributes in XenForo indicate the first/only post in Article threads?