Skip to content

Instantly share code, notes, and snippets.

View IonRutz's full-sized avatar

Ionut Iftimie IonRutz

View GitHub Profile
@IonRutz
IonRutz / gist:285b25c0441c82080ce7
Created March 17, 2016 12:54
Back to top button
First add the CSS to Dashboard > Appearances > Editor > Style.css, preferably after all the content:
#toTop {position:fixed;bottom:5px;right:5px;cursor:pointer; z-index: 99;}
Then, inside the same Dashboard > Appearances > Editor choose Footer.php in the right files and drop this code code before the </html> tag:
<img src="http://cursowebdesign.com/assets/img/to-top.png" id="toTop" alt="Back to top">
<script>