• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Scroll to Top of Forum While Viewing a Message

zoldos

Well-known member
#1
zoldos submitted a new resource:

Scroll to Top of Forum - Easy navigation back to the top of your forum after viewing threads or node list!

This simple template edit adds two links, one below each user's info while viewing a post, and one in your forum's footer. You can technically place the link anywhere you want, but these placements seem the most useful.

First, go to your XF admin-> appearance -> templates and open up "header". Look for:
Code:
<xen:hook name="header">
Scroll down just a bit, and find:
Code:
</xen:hook>
ABOVE that, add this:
Code:
<xen:require js="./js/xenforo/scrollit.js" />
Save.

Now...
Read more about this resource...