Shopify Back to Top Button

Add a back-to-top control to your Shopify website to streamline navigation, support smoother browsing, and make long content easier for visitors to explore.
4.8 rating
10,000+ reviews
Free plan available
Create Widget for Free
No credit card needed
Shopify Back to Top Button

Create your Back to Top app

Configure your app and add it to your Shopify website for free!

Screenshots

Shopify Back to Top Button
1 / 6

Why People Love Elfsight

Long product pages are great for storytelling but they can also mean a lot of scrolling. The Elfsight Back to Top button helps your customers quickly jump back up without the endless swiping. It’s a small detail that makes a big difference in how your store feels to browse.

With just a few clicks, you can install a button that perfectly matches your theme. Pick your own colors, icons, and animations. Adjust where it appears, and choose when it shows up. It works beautifully on both desktop and mobile – no coding, no extra setup.

Did you know?

A Nielsen Norman Group study found that 57% of users’ page-viewing time happens above the fold, that’s the top part of the page before scrolling begins.

Keep navigation simple to help users return there instantly – add the Elfsight Back to Top button to your Shopify store for free today.

Key Features of the Shopify Back to Top Button

Give your customers an effortless browsing experience with a feature that’s simple to use and easy to love.

  • Tailor-made design: Choose from ready-made icons or upload your own, then customize size, color, and shape to fit your brand.
  • Smart display rules: Control when and where the button appears – after a specific scroll distance, on certain pages, or all across your store.
  • Smooth motion effect: The gentle scroll animation brings users back to the top naturally without abrupt jumps.
  • Flexible positioning: Place the button wherever it feels right – bottom corner, side edge, or even floating in the middle.
  • Mobile-ready: The app automatically adjusts to smaller screens, keeping usability perfect on phones and tablets.

Explore every feature in the live editor – no sign-up needed.

How to Add a Back to Top Button to Shopify

Setting up your Back to Top app on Shopify takes just a few minutes. Here are two easy ways to do it.

Method 1: Floating Button

Perfect if you want a fixed button that’s visible across all pages.

  1. Select a template: In the Elfsight editor, pick a layout that stays visible as users scroll.
  2. Adjust design and motion: Set your icon style, scrolling speed, and exact screen position.
  3. Generate and copy code: Click “Add to website for free” and copy the snippet.
  4. Paste into Shopify: Open “Online Store → Themes → Customize → Edit Code,” then paste the snippet before the closing </body> tag.

Method 2: Inline Button

Ideal if you want the button to appear in a specific section.

  1. Open the Elfsight Editor: Pick a template that fits your store’s design.
  2. Personalize your button: Customize color, icon, and position, then set when it appears.
  3. Copy your code: Click “Add to website for free” to get your embed code.
  4. Embed in Shopify: In your Shopify dashboard, go to “Online Store → Themes → Edit Code” and paste the code where you want the button to appear.

Need help? Check out our Help Center for detailed guides. You can also share feedback in our Wishlist or view the latest updates in the Changelog.

Is the Back to Top app compatible with Shopify Online Store 2.0?

Yes, all Elfsight apps support Shopify 2.0 and can be embedded as app blocks or custom HTML.

Do I need to edit theme files to add the Back to Top button?

No, you can embed the app using Shopify’s Custom Liquid block or page editor without touching theme code.

When does the Scroll to Top appear in Shopify?

The app displays the button only after customers scroll beyond your defined percentage, keeping product pages visually clean until needed.

Can I control how quickly the page scrolls upward?

Yes, Elfsight includes a setting to define the scroll animation speed, ensuring the return-to-top action feels smooth within your Shopify store.

What’s the difference between floating and embedded styles?

Floating mode keeps the button visible while shoppers browse, whereas embedded mode places it within a fixed section like a footer area.

Can I choose which Shopify pages show the button?

Yes, you can apply display rules to enable the Back to Top app across your entire Shopify store or restrict it to certain pages.

How does it behave on mobile devices?

Elfsight adapts to mobile screens automatically, supports touch navigation, and appears according to mobile-optimized scroll behavior.

Can I reposition the button in Shopify?

Yes, adjustable offset settings help you move the Scroll to Top app so it doesn’t overlap with chat icons or promotional banners.

Pricing

14-day money back guarantee. Risk-free, you can cancel at anytime.
Elfsight Apps
Cross-platform version that works on any website
from $0 / month
start with free plan
Unlimited websites
Premium support
Free installation servise
Special offer for multiple apps
Shopify App
Works on any Shopify website
$5.99 / month
Free Trial
1 website
Premium support
Free installation service