MyBB Community Forums

Full Version: Hyperlink to Replies are "Too Low"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Whenever you hyperlink to a specific reply in a post, the post loads too low (generally halfway down).  Is there a setting I can change or some code I can add so the posts load at the top of the page?

Example: http://wspforums.com/thread-31-post-44.html#pid44

Thanks!

EDIT: To be more specific, I'm referring to the postbit here. Whenever you click on the postbit link, the page scrolls down too far; that's what I'm trying to fix!
(2016-11-15, 02:09 AM)samwxlfe Wrote: [ -> ]Whenever you hyperlink to a specific reply in a post, the post loads too low (generally halfway down).  Is there a setting I can change or some code I can add so the posts load at the top of the page?

Example: http://wspforums.com/thread-31-post-44.html#pid44

Thanks!

EDIT:  To be more specific, I'm referring to the postbit here.  Whenever you click on the postbit link, the page scrolls down too far; that's what I'm trying to fix!

Would you have a temporary account for us to test? If so PM me, and I can take a look.
PM'ing you now!
It's because of the absolutely positioned header - the anchor tag jumping is a browser feature that isn't aware of other CSS on your site. It's jumping to the correct place, the top of the post will be at the top of the browser window, you then have your header covering it up. The only way you can fix this is to use javascript to do the anchor jump, and add an offset in to take the height of the header into account.