header-logo
Learn how to use Wix to build your site and business.
Design and manage your site using intuitive Wix features.
Manage subscriptions, plans and invoices.
Run your business and connect with members.
Learn to purchase, connect or transfer a domain to your site.
Get tools to grow your business and web presence.
Boost your visibility with SEO and marketing tools.
Get advanced features to help you work more efficiently.
Find solutions, learn about known issues or contact us.
placeholder-preview-image
Improve your skills with our courses and tutorials.
Get tips for web design, marketing and more.
Learn to increase organic site traffic from search engines.
Build a custom site using our full-stack platform.
Get matched with a specialist to help you reach your goals.
placeholder-preview-image

Wix Editor: Adding and Customizing a Back to Top Button on Your Mobile Site

3 min
In this article
  • Adding a Back to Top button
  • Customizing the Back to Top button
  • Changing the layout of the Back to Top button
Add a Back to Top button to allow mobile visitors to quickly navigate to the top of your site. You can change the icon to your liking, and further customize it so it stands out to visitors.

Adding a Back to Top button

Get started by adding the button from the Mobile Tools panel in the mobile editor.
Note:
The Back to Top button only appears on pages with the Standard layout, and pages that are at least 1380 pixels long (not on short pages).

To add a Back to top button:

  1. Click Mobile Tools  on the left side of your mobile editor.
  2. Click the Add to site icon  next to Back to top button.
The mobile tools panel in the mobile editor. The cursor is clicking the Back to top button.

Customizing the Back to Top button

Select an icon for your button. You can choose from one of our presets or upload your own, and further customize the design to suit your site's look.

To change the icon:

  1. Go to your mobile editor
  2. Click the button.
  3. Click Change Icon.
  4. Choose what to do next:
    • Select a preset icon.
    • Click the Add icon to upload your own, or choose from 1000s of vector art images.
  5. (Optional) Click Customize Design to make it look how you want:
    • Fill colors: Choose the color / colors and make them more or less opaque.
    • Shadow: Enable and adjust a shadow on the button to give it a 3D effect.
A cropped view of the Change icon panel. The cursor has clicked an arrow icon.

Changing the layout of the Back to Top button

Change the button's position and margins to suit your mobile site's alignment.

To adjust the layout:

  1. Go to your mobile editor
  2. Click the button.
  3. Click the Layout icon .
  4. Adjust the layout with the options:
    • Button alignment: Align the button to the left or right of the site.
    • Margins: Use the sliders to adjust the margins around the button.
The button layout panel. The cursor is dragging the slider to adjust the vertical margins around the button.
The mobile tools panel in the mobile editor. The cursor is clicking the Back to top button.
A cropped view of the Change icon panel. The cursor has clicked an arrow icon.
The button layout panel. The cursor is dragging the slider to adjust the vertical margins around the button.