Title: scrollToTop
Author: Roman Sarvarov
Published: <strong>July 20, 2017</strong>
Last modified: June 12, 2020

---

Search plugins

![](https://ps.w.org/scrolltotop/assets/banner-772x250.png?rev=1699760)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/scrolltotop/assets/icon-256x256.png?rev=1705206)

# scrollToTop

 By [Roman Sarvarov](https://profiles.wordpress.org/rom4i/)

[Download](https://downloads.wordpress.org/plugin/scrolltotop.zip)

 * [Details](https://twd.wordpress.org/plugins/scrolltotop/#description)
 * [Reviews](https://twd.wordpress.org/plugins/scrolltotop/#reviews)
 *  [Installation](https://twd.wordpress.org/plugins/scrolltotop/#installation)
 * [Development](https://twd.wordpress.org/plugins/scrolltotop/#developers)

 [Support](https://wordpress.org/support/plugin/scrolltotop/)

## Description

scrollToTop is a small plug-in that will help you to make a nice looking back to
top button or full-height bar on your WordPress website. You don’t need any knowledge
in HTML, CSS or JS: the plug-in has many settings which you can change in just one
click.

#### Features

 * Bar and Button mode
 * Choose 1 of 15+ arrow icons (which are merged in a font)
 * Change position, size, color, opacity and other styles
 * Enable/disable/change back to top text
 * Change animation effects (none/fade/slide)
 * Enable/disable async & defer script loading
 * Mobile friendly

## Screenshots

 * [[
 * Bar and Button mode.
 * [[
 * A small demonstration of what can be done in 1 minute.
 * [[
 * Settings page

## Installation

**Through Dashboard**

 1. Log in to your WordPress admin panel.
 2. Go to Plugins -> Add New and type **scrollToTop** in the search box.
 3. Find scrollToTop and click on Install Now, after that activate the plugin.
 4. Go to Settings -> scrollToTop and customize back to top button as you want!

**Installing Via FTP**

 1. Download the plugin to your hardisk and unzip it.
 2. Upload the **scrollToTop** folder into your plugins directory.
 3. Log in to your WordPress admin panel and activate the plugin.
 4. Go to Settings -> scrollToTop and customize back to top button as you want!

## FAQ

### Will scrollToTop work on any template?

The plug-in can be installed and will work on any template, however full-height 
bar may not fit horizontally. Do you have enough space for that?

### I’m a template developer

Use ‘scrolltotop_default_settings’ filter to change default plugin settings.
 You
can see available settings in ‘includes/scrolltotop-functions.php’.

### I have a question/I’m need support

I will help you on any question on our [support forum](https://wordpress.org/support/plugin/scrolltotop).

## Reviews

![](https://secure.gravatar.com/avatar/762510b1625d8fb87fe9e7465cc708081c0deb36a81b311e3e7641b45a2e58dc?
s=60&d=retro&r=g)

### 󠀁[experienced user : very very good !](https://wordpress.org/support/topic/experienced-user-very-very-good/)󠁿

 [hitunesaltug](https://profiles.wordpress.org/hitunesaltug/) July 13, 2021

this is very very good, and can be use always… if it is always keep up updates. 
i try other 10 scroll plugin… but only this is premium ! this developer know what
he doing… and this plugins must be have a priced version, if have time.

![](https://secure.gravatar.com/avatar/0f71e9f0c35812d14326b383e729f745dfa29cd8be2a08ec1d2bd920997b6dd3?
s=60&d=retro&r=g)

### 󠀁[То, что я искал!](https://wordpress.org/support/topic/%d1%82%d0%be-%d1%87%d1%82%d0%be-%d1%8f-%d0%b8%d1%81%d0%ba%d0%b0%d0%bb-2/)󠁿

 [Asome](https://profiles.wordpress.org/asome/) April 29, 2020 1 reply

Здравствуйте! Огромнейшее спасибо за плагин! Давно искал нечто подобное, как ВКонтакте.
Я потратил много времени, копаясь в коде – нужно было сделать кнопку, которая прокручивает
страницу вверх, а потом повторным нажатием возвращает обратно – но ничего не вышло,
а тут за секунды установил Ваш плагин и получил то, что нужно. Бесконечное спасибо!

![](https://secure.gravatar.com/avatar/4b17f74ea1ce80bd68c4ca7f9417ddbcb7cc2cebb80268bf2f923bda27a52020?
s=60&d=retro&r=g)

### 󠀁[winner](https://wordpress.org/support/topic/winner-9/)󠁿

 [Moe](https://profiles.wordpress.org/alalimoe/) November 7, 2019 1 reply

best scroll to top i’ve come to use in years. that is including ones i tried in “
premium” themes. thanks!

![](https://secure.gravatar.com/avatar/e14355defb0d67d70ff706cc4b03b2990925fd391182a019edbbdc06f5ac108b?
s=60&d=retro&r=g)

### 󠀁[Nice plugin!](https://wordpress.org/support/topic/nice-plugin-2665/)󠁿

 [mt1977](https://profiles.wordpress.org/mt1977/) May 3, 2018 1 reply

It just simply works.

 [ Read all 4 reviews ](https://wordpress.org/support/plugin/scrolltotop/reviews/)

## Contributors & Developers

“scrollToTop” is open source software. The following people have contributed to 
this plugin.

Contributors

 *   [ Roman Sarvarov ](https://profiles.wordpress.org/rom4i/)

“scrollToTop” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/scrolltotop/contributors)
for their contributions.

[Translate “scrollToTop” into your language.](https://translate.wordpress.org/projects/wp-plugins/scrolltotop)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/scrolltotop/), check
out the [SVN repository](https://plugins.svn.wordpress.org/scrolltotop/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/scrolltotop/) by
[RSS](https://plugins.trac.wordpress.org/log/scrolltotop/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.16

 * Hotfix for 1.15

#### 1.15

 * Wrap all js to `$(document).ready(/* ... */)` to make plugin work, if its scripts
   loaded after creating container
 * Add new options “scroll to value/element”, what can set top scroll position (
   it was `0` always before)

#### 1.14

 * WordPress 5.4.x support
 * Code refactoring

#### 1.13

 * Stop animation when user manually scroll
 * Added minified files
 * New admin page settings

#### 1.12

 * Global fixes

#### 1.11

 * Fixed scrollToTop bar with admin-bar height issue.

#### 1.1

 * Added .pot file for translation in future
 * Fixed js file `async` loading

#### 1.09

_Optimized for faster work_

 * Add inline javascript caching (via transient creation)
 * Less javascript in html
 * Optimized js file
 * Add `id` attribute to a container

#### 1.08

 * New option: transform bar into button instead of hide

#### 1.07

_WordPress 5.2 support_

 * Tested up to 5.2
 * Background with 0 opacity like `background: rgba(255,255,255,0)` to just `background:
   transparent`
 * Add some cross browser codes

#### 1.06

_WordPress 5.1 support_

 * Tested up to 5.1

#### 1.05

 * New options for CSS files & inline styles output

#### 1.04

 * Global fixes

#### 1.03

_WordPress 4.9 support_

 * Tested up to 4.9.1
 * Fix WP Color Picker plugin

#### 1.02

_Added a lot of new features_

 * Bar and Button mode.
 * Advanced background.
 * Sticky width.
 * New arrow icons.
 * New animations.

#### 1.01

 * Bug fix.

#### 1.0

 * Initial release.

## Meta

 *  Version **1.16**
 *  Last updated **6 years ago**
 *  Active installations **200+**
 *  WordPress version ** 3.0.1 or higher **
 *  Tested up to **5.4.19**
 *  Languages
 * [English (US)](https://wordpress.org/plugins/scrolltotop/) and [Russian](https://ru.wordpress.org/plugins/scrolltotop/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/scrolltotop)
 * Tags
 * [back to top](https://twd.wordpress.org/plugins/tags/back-to-top/)[scroll](https://twd.wordpress.org/plugins/tags/scroll/)
   [scroll to top](https://twd.wordpress.org/plugins/tags/scroll-to-top/)[scroll up](https://twd.wordpress.org/plugins/tags/scroll-up/)
   [To top](https://twd.wordpress.org/plugins/tags/to-top/)
 *  [Advanced View](https://twd.wordpress.org/plugins/scrolltotop/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/scrolltotop/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/scrolltotop/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/scrolltotop/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/scrolltotop/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/scrolltotop/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/scrolltotop/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/scrolltotop/reviews/)

## Contributors

 *   [ Roman Sarvarov ](https://profiles.wordpress.org/rom4i/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/scrolltotop/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LNVRV7LL39E2E&source=url)