Skip to main content

Scroll to Top Button

How it works​

Scroll to Top Button adds a button that appears when visitors scroll down a page. Clicking it takes them back to the top, which makes long pages easier to browse.

Step 1: Open the feature​

From your Shopify admin, open LV - Product Badges → Store Optimizations → Scroll to Top Button.

Step 2: Activate the widget​

This feature requires the Lavar app embed to be enabled in your Shopify theme. If it's already enabled, go to step 3.

  1. Click Activate app embed, then save your theme changes in the Shopify theme editor.
  2. Return to the app and click Verify now.
  3. Turn on the toggle beside This setting is deactivated.
  4. Click Save at the top of the page.

For detailed instructions, see How to Enable App Embed and App Blocks in Lavar.

Step 3: Choose a button design​

Under Settings, select the button design you want.

Check the Preview panel to review the button. If you change the design, click Save at the top, then scroll down a long page on your storefront to check the button.

Need help?​

If the button doesn't appear when you scroll down a long page, email us at [email protected] with the link to that page, and we'll check it for you.

Was this article helpful?