Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: Video.js (HTML5 Video Player) 10.0.0-alpha1 First alpha version released for module videojs (10.0.0-alpha1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Back-2-Top

3 sites No security coverage Drupal 10–11
View on drupal.org

This module adds a "back to top" button that appears when a user scrolls down a page and smoothly scrolls them back to the top when clicked. This is particularly useful for long pages, providing an easy way to navigate back to the beginning.

This module creates a back-to-top button on the bottom-right corner of your website. The button will initially be invisible, but once the viewer scrolls down the button will appear. The webpage will scroll back up slowly once the button is clicked. This comes in handy especially when you have a very long webpage, to keep users from doing the tedious task of having to scroll all the way back up using their mouse scroll button.

What this module does is it adds a new div to your website with an i.d. of 'toTop'. You can add custom styling to the button by accessing #toTop in your CSS stylesheet. To customize it you may need to add an '!important' rule (without quoutes) next to your CSS attribute to override the modules default theme. For example, to change the button's color you need to create a new color rule for the #toTop i.d. in your templates css stylesheet, then add
'!important' at the end to make sure it overrides all other CSS rules.

REQUIREMENTS

No special requirements.

INSTALLATION

Install as you would normally install a contributed Drupal module.
See: https://www.drupal.org/node/895232 for further information.

CONFIGURATION

  1. Navigate to the 'Block layout' page of your theme.
  2. Place the 'Back-to-Top' block in the lowest region of your template, which is usually the Footer region.

MAINTAINER/S

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Jun 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Core Release date
4.0.0 Stable 10–11 Jun 19, 2025
4.0.x-dev Dev 10–11 Jun 19, 2025