Difference between revisions of "Template:Top"

From GodWiki
Jump to: navigation, search
(upgraded template to looks a little better in both front and back-end, may change the font-size after checking on mobile view)
m (reducing slightly the font size and rising the fixing up a %)
Line 1: Line 1:
<div id="BackToTop" class="noprint" style= "position:fixed; top: 90%; left:2%; z-index:9999; padding:0; margin:0;">
+
<div id="BackToTop" class="noprint" style= "position:fixed; top: 89%; left:2%; z-index:9999; padding:0; margin:0;">
{| class="wikitable" style="font-weight: bold; font-size:100%; text-align: center; table-layout: fixed; background: #F0F8FF; "
+
{| class="wikitable" style="font-weight: bold; font-size:97%; text-align: center; table-layout: fixed; background: #F0F8FF; "
 
{{!}}[[#top|Back to the Top]]
 
{{!}}[[#top|Back to the Top]]
 
{{!}}-
 
{{!}}-

Revision as of 19:50, 6 March 2020

📚 Documentation

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

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