[RSS Feed/News] What does XenForo use to create an offset for #target links to compensate for the fixed header?

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I am working on some custom pages with #target links within the page, currently in the form of a table of contents at the top of the page. The issue is, the targeted positions are all off by -45px due to the fixed header at the top of the page.

I see somehow this is not an issue for #target links within the XenForo forum (for instance post links). It appears this offset is already compensated for through existing script.

Where is this script and what do I need to do to have it active on a...

Read more
Read more about this Feed . . .
 
Status
Not open for further replies.
Back
Top Bottom