Difference between revisions of "Template:Top"

From GodWiki
Jump to navigation Jump to search
(removed "To the Bottom" part)
m (modified position so it's not floating too far up (again))
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div id="BackToTop" class="noprint" style= "position:fixed; top: 87%; left:2%; z-index:9999; padding:0; margin:0;">
+
<div id="BackToTop" class="noprint" style= "position: fixed; bottom: 0; left:2%; z-index:9999; padding:0; margin:0;">
 
{| class="wikitable" style="font-weight: bold; font-size:95%; text-align: center; table-layout: fixed; background: #F0F8FF; "
 
{| class="wikitable" style="font-weight: bold; font-size:95%; text-align: center; table-layout: fixed; background: #F0F8FF; "
 
|[[#top|▲ Back to Top]]
 
|[[#top|▲ Back to Top]]

Latest revision as of 13:34, 1 May 2021

📚 Documentation

The {{Top}} Template adds floating "Back to Top" button to the bottom left of any page it is applied on.

Like the names implies, this buttons allow users to jump back to the top of the page in a single click. The buttons is static, and therefore do not move when the page is scrolled, and is compatible with mobile view.