The Back to top section takes shoppers back to the top of the page. It helps on long pages, like a product page with many photos and reviews. It has two modes:
- Fixed: a round arrow button that floats in a bottom corner of the screen.
- Inline: a full-width bar with the words "Back to top", like the ones large online stores show just above their footer.
Add it
- Open the builder and go to the page you want.
- In the Sections tab, click Add new section and pick Back to top in the Layout group.
- Pick the Mode, set the other settings and colors, then click Publish.
You can add one per page, on any page. In Fixed mode its place in the Sections list does not matter, because the button always floats in the corner. In Inline mode the bar shows where the section sits, so drag it just above the Footer in the Sections list.
When it shows
In Inline mode the bar is always shown in its place. In Fixed mode the button is hidden at the top of the page. It appears once the shopper has scrolled down about one screen, and hides again when they are back near the top. In the builder, it shows while the section is selected, so you can style it without scrolling.
Shoppers who turned on reduced motion on their device jump to the top at once instead of gliding.
Settings
Layout
- Mode: Fixed for the floating button (the default) or Inline for the full-width bar.
- Position (Fixed only): Start or End corner at the bottom of the screen. These follow your store language: in a left-to-right language like English, Start is the left corner and End is the right corner. In a right-to-left language like Arabic, they swap. The default is End.
- Size (Fixed only): the button size, from 44 to 80 pixels (default 48). Even the smallest size stays easy to tap on a phone.
- Text (Inline only): the words on the bar, up to 40 characters. Leave it empty to show "Back to top" in the language of each shopper.
Appearance
- Scroll progress (Fixed only): shows a ring around the arrow that fills as the shopper scrolls down the page. It is on by default. Turn it off for a plain button.
- Color scheme: the button uses the primary button colors of the scheme you pick (background, arrow, and hover colors). The bar uses the secondary button colors of the scheme, and its background and text change to the secondary button hover colors when shoppers point at it. To change them, edit that scheme in Color schemes.
Padding
Inline only: the space above and below the text of the bar, from 0 to 100 pixels (default 16).
Show it on every page
Each page has its own sections, so add the button once and use Apply to all pages. That only updates pages that already have a Back to top section, so add it to the other pages first. See Sections and blocks.
Good to know
- The button does not appear: the page may be too short to scroll one full screen. Try a longer page.
- It sits higher than expected: on pages with a sticky buy bar at the bottom, the button moves up so they do not cover each other.
- Other floating items: a fixed newsletter button uses the bottom left corner. If you use both, put Back to top on the other side so they do not overlap.
- Hard to see: pick a color scheme whose primary button color stands out from your page background.
- Hide it for a while: use the eye icon on the section. Its settings are kept. Hiding or deleting it only changes the page you are on.