Back to Top Button for Squarespace

Send visitors back to the top of long pages with one tap. Add the Elfsight scroll-to-top button to Squarespace, pasting its code into a Code or Embed block.
4.8 rating
10,000+ reviews
Free plan available
Create Widget for Free
No credit card needed
Back to Top Button for Squarespace

Create your Back to Top plugin

Configure your Scroll to Top button and add it to your Squarespace website for free!

Screenshots

Back to Top Button for Squarespace
1 / 6

Get Visitors Back to the Top of Long Pages

On a long page, visitors have to scroll a long way to get back up. The Back to Top widget adds a button that returns them to the top, and the page scrolls up with a smooth motion instead of a jump.

You can pick icons, colors and shapes and choose where the button sits, so it matches your Squarespace design.

Key Features of the Back to Top Widget

These are the settings you can adjust:

  • Fully customizable: pick icons, colors and shapes to match your brand.
  • Smooth scrolling: the page scrolls up with a smooth motion instead of a jump, and you can adjust the animation timing.
  • Smart visibility: the button stays hidden until the visitor scrolls down and appears after the scroll percentage you configure.
  • Flexible positioning: place it in any corner of the screen or embed it inside your page layout.
  • Mobile-friendly: the button adjusts to smaller screens and supports tap interaction.
  • Page control: show the button across your website or hide it on selected URLs.

You can try all these features in the live editor without signing up.

How to Add the Back to Top Button to Squarespace

Get your code in the Elfsight editor, then add it to Squarespace. Check your plan first: on Core, Plus and Advanced (formerly Business and Commerce) you use a Code block or Code Injection, and on Basic (formerly Personal) you use an Embed block with Code Snippet.

Method 1: Floating Button on All Pages (Core, Plus, Advanced)

Choose this if you want the button to stay visible as visitors scroll.

  1. Open the Elfsight editor and choose a Back to Top template.
  2. Adjust the icons, colors, shapes and position.
  3. Click Add to website for free and copy your code.
  4. In Squarespace, go to Website → Pages.
  5. At the bottom of the left menu, open Custom Code → Code Injection (Squarespace 7.0: Website Tools → Code Injection).
  6. Paste the code into the Footer field.
  7. Click Save, then open your published website in an incognito window to check the button.

Method 2: Floating Button on All Pages (Basic)

Use this if your website is on the Basic plan and has a footer.

  1. Copy your code from the Elfsight editor with Add to website for free.
  2. Open your website in the Squarespace editor and click Edit.
  3. Hover over the footer and click its edit button.
  4. Click Add Block → Embed.
  5. Click the pencil icon and choose Code Snippet.
  6. Paste your code into the Embed data field.
  7. Click Save, then check your published website.

Method 3: Inline Button on a Page (Core, Plus, Advanced)

Great if you want the button to sit inside your page layout.

  1. Copy your code from the Elfsight editor with Add to website for free.
  2. In Squarespace, go to Website → Pages and open the page you need.
  3. Click Edit and choose the place for the button.
  4. Click Add Section → Add a blank section → Add block → Code.
  5. Paste your code into the Content field.
  6. Click Save, then open the published page to check the button. On Basic, use Add Block → Embed → Code Snippet instead of Code.

Need some help? Check out our Help Center for detailed step-by-step guides. You can also share ideas in the Wishlist or stay updated via the Changelog.

Is the Back to Top widget compatible with Squarespace 7.0 and 7.1?

Yes, Elfsight plugins are compatible with Squarespace 7.0 and 7.1, including the Fluid Engine editor.

Which Squarespace plans allow adding the Back to Top button?

Core, Plus and Advanced plans (formerly Business and Commerce) allow adding it with a Code block and Code Injection. On the Basic plan, you add it with an Embed block and Code Snippet.

How do I add the button to all pages of my Squarespace website?

Paste the code into Code Injection → Footer. This works on Core and above.

How do I add the button to one page only?

On Squarespace 7.1, open the page and go to Add Section → Add a blank section → Add block → Code, then paste your code.

Why can't I see the button in the Squarespace editor?

Squarespace turns off scripts in the editor, so the widget may show a “Script Disabled” message there. Open the preview or your published page in an incognito window to see the button.

Why is there extra space under the widget in Fluid Engine?

Fluid Engine can add empty space under the widget. You can fix it with Custom CSS in the widget settings.

When does the Back to Top button appear?

It stays hidden until the visitor scrolls down and appears once they scroll beyond the percentage you configure.

Can I keep the button hidden on the first screen?

Yes, set the scroll percentage so the button appears only after visitors scroll past it.

Can I customize the scroll-back speed?

Yes, you can adjust the animation timing, so the page scrolls up with a smooth motion instead of a jump.

What is the difference between floating and embedded modes?

Floating mode keeps the button visible while scrolling, while embedded mode places it inside a static section such as a footer block.

Can I limit the button to specific Squarespace pages?

Yes, you can show the button across your website or hide it on selected URLs.

How does the button behave on mobile devices?

It adjusts to smaller screens and supports tap interaction.

Can I adjust the button's position and spacing?

Yes, you can place it in any corner of the screen, and custom spacing controls let you reposition it so it does not overlap other floating elements.

Can I start for free?

Yes, you can try the features in the live editor without signing up, and you can use one Elfsight account on any number of websites and domains.

Pricing

14-day money back guarantee. Risk-free, you can cancel at anytime.
Elfsight Apps
Platform-independent version
from $0 / month
start with a free plan
Unlimited domains
Premium support and well documented
Charge-free installation help
100% customizable
Price to catch for multiple apps