Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Back-2-Top

No security coverage Under active development 3 sites

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

Drupal 10–11

Ask your assistant about Back-2-Top

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
5
Tracked since
Jun 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
4.0.0 Stable 10–11 Jun 19, 2025
4.0.x-dev Dev 10–11 Jun 19, 2025
3.0.0-beta1 Pre-release 10–11 Jun 28, 2024
3.0.x-dev Dev 10–11 Jun 27, 2024
8.x-2.1 Stable 8–9 Jun 27, 2024