How to Easily Add a Back-to-Top Button to a Website

May 6, 2020
0 minute read

Is there anything more yawn-inducing than having to scroll up endlessly to return to the top of the page of a website? Fortunately, a simple back-to-top button will help you keep from losing customers.

This is a button on a web page that brings the visitor back to the top of the page when they click on it. It’s usually located on the lower left-hand corner of the site and the image on it is a cue that lets the visitor know its purpose, usually an upward facing arrow.

A back-to-top button needs to float or be “sticky” on your website so that it stays put in your frame when you scroll and the design of the button shouldn’t get in the way of your other content while also being consistent with your site’s branding. 

If you’re breaking into a cold sweat thinking you need to learn JavaScript and CSS to make a responsive, branded back-to-top button, you don’t! 

In this post, we’ll give you a short rundown of how to add a back-to-top button using 3 popular web design platforms. They are:

Let’s dive in…

Why Should You Add a Back-to-Top Button?

While a scroll-to-top button can support the user experience of most websites, (if used effectively) there are scenarios that make it more valuable or even critical.

You Have a Single-page Website

Single-page websites tend to load especially fast and have high engagement rates. They can also be faster to build and maintain. 

But because it’s all one page, it would take a lot of effort to manually scroll up to get back to the top.

You Write Long-form Blog Posts

Long-form blog posts are a fantastic opportunity to share insights and build a rapport with your niche and they tend to get high traffic.

When your user is really into your content, they may be becoming a warm lead. So it’s extra important to make sure that it’s easy for them to navigate your website.

How to Add a Back-to-Top Button with Duda 

With Duda you can make a fully customizable back to top button with no coding and no extra apps to purchase, download or set up. There’s no extra cost and you can have it up and running in just a few minutes, freeing up valuable time you could be using to drive revenue for your clients, scale your business, pet a cat and make a very fine lasagna.

Here’s a step-by-step breakdown on how to add a back-to-top button in Duda’s web design platform. 

Setting up a sitewide floating “back to top” button

This is literally a couple of clicks, and will take about a minute.

  • Select “Button” from the widget palette on the left side of the editor
  • Drag the button on your page
  • Select “Floating” in the Design panel for the button
  • Select the Page you want the button to link to, and choose the already-included “Top” anchor

Seriously, that’s it.

This method is great for setting up a floating button that performs the “back to top” function on a single-page website.

Setting up a fixed, page-specific “back to top button”

While the “back to top” button is frequently used on single-page websites, you may want to set up a fixed button that links to the top of a particular page on a multi-page website. The process to do this is similarly straightforward.

  • Select “Button” from the widget palette on the left side of the editor
  • Drag the button on your page to the place you want it to be fixed
  • Select the Page you want the button to link to (probably the page the button is on), and choose the already-included “Top” anchor

Again, that’s all it takes. It’s like 30 seconds to do this.

Setting up a back-to-top button on mobile versions of Duda sites

Since people are scrolling, scrolling on mobile devices, Duda automatically adds a back to top button if the site is rendered on a mobile device. You literally don’t need to do anything. That long blog post that you’re worried about adding a back to top button on? It’s already handled for you, automatically.

An effective back-to-top button optimizes the user experience while supporting your goals for your website. We’re proud to help you do this in a way that saves time, so you can focus on the value you bring to your visitors.

Ready to build outstanding websites faster than ever? Try Duda for free.

WordPress Back-to-Top Plugin

There are many free back-to-top plugins available in WordPress and they vary in how much you can customize them. Some aren’t customizable at all. Here is how you add one…

  • Open Plugins in your WordPress dashboard and click the “Add plugin” button at the top of the page and type in “back to top” or “scroll to top” to browse available plugins. Open each plugin and browse its features to find one that has multiple display and icon options.
  • Once you choose a plugin, click the Download button and once the download is complete, click the Activate button.
  • Once the button is active, open it in your plugin section and check out the settings to make sure they are suitable for your brand and user experience. Adjust if necessary and test it on the front end of your site. You may need to test several plugins to find one that fits your needs.

Elementor Pro (WordPress)

Note: Elementor is a free WordPress plugin, but to make your button stay fixed in one location or “Sticky”, which is important to the function of this button, you need to buy, install and set up Elementor Pro , the paid version.

Here is how to make a back to top button in Elementor Pro.

  • Open the Icon widget and drag and drop it on the part of your website where you want the button.
  • Open the Advanced tab and scroll down to the Custom Positioning section and set the following in the drop-down menus: Width: Inline; Position: Fixed; Horizontal Position Offset / Vertical Position > Offset: Drag these until the button sits where it looks right. Your offset will depend on how things look on your particular website. Make sure you check this on mobile, desktop and tablet to make sure it’s not blocking anything important no matter what device people are using to view it. Then click the green Update button.
  • Click the Section of your page under your header.
  • In the left menu, open the Advanced tab and enter a word in the CSS ID field. This is what you’re going to use to make your button sticky. Copy this word.
  • Go back to your button menu and place a hashtag in the Link field, then paste your CSS ID phrase beside the hashtag, no spaces. Click the green update button.

Want an easier way to do this? Do it in Duda! Start your free trial now !

Would you like your button to be more customizable or use something other than WordPress or avoid buying and installing a third-party tool? You’re probably going to have to work with code…

In most content management systems, creating a fully customizable option involves writing code and chances are, you won’t want to learn CSS and JavaScript. You’d also have to dig through your website to find the right code to modify and if you get even one character wrong, it will mess up part of your site and the problem will be hard to diagnose if you aren’t a developer.


Did you find this article interesting?


Thanks for the feedback!
A computer screen with a graph on it and a purple background.
By Santi Clarke April 24, 2025
Learn how platform ecosystems drive revenue and why they are essential for the growth of SaaS businesses.
By Santi Clarke April 24, 2025
One of the greatest challenges for SaaS platforms is keeping users engaged long-term. The term “stickiness” refers to a product's ability to retain users and make them want to return. In the context of SaaS platforms, creating a sticky product means that users consistently find value, experience seamless interactions, and continue using the product over time. The following are 7 practical strategies you can take to improve the stickiness of your SaaS solution. 1. Offer websites that help customers build their digital presence One of the most effective ways to make your SaaS platform sticky is by offering websites to your users. Many businesses today need an online presence, and by providing a platform where your customers can easily build and manage their websites, you increase their reliance on your product. When you offer users a website-building solution, you’re helping them create something foundational to their business. Websites, in this case, aren’t just a tool—they become a part of their identity and brand. This deepens their engagement with your platform, as they need your product to maintain and update their site, ultimately making them less likely to churn. Plus, websites naturally encourage frequent updates, content creation, and customer interactions, which means your users will return to your platform regularly. When you can give your users the tools to create something so essential to their business, you make them more dependent on your platform. This creates a higher barrier to exit, as migrating a fully built website to another service is no small task. In fact, websites are some of the stickiest products you can sell, so adding them to your product portfolio can be one of the best decisions you can to keep your customers using your technology for the long haul. 2. Deliver continuous value through product innovation The key to keeping users coming back to your SaaS platform is ensuring that they consistently see value in it. This means not only meeting their immediate needs but also evolving to address their growing demands. Constant product innovation is essential for keeping your users satisfied and invested in your platform. One way to achieve this is through regular updates that add new features or improvements based on user feedback. A SaaS platform that evolves with its users will keep them engaged longer, making it harder for competitors to steal their attention. Encourage user feedback and prioritize updates that create tangible improvements. This creates an ongoing relationship with your users, which boosts stickiness. 3. Offer a multi-product solution Another powerful way to increase your platform’s stickiness is by offering a suite of products or features that integrate well together. When your users adopt multiple products, they are more likely to stay because they become embedded in your ecosystem. The benefits of this strategy are clear. Research shows that once users adopt more than one product, especially when they integrate >4 tools into their workflow, their likelihood of churn decreases significantly. This happens because the more a user integrates into your suite of products, the harder it is for them to switch to a competitor. These users have invested time in learning your ecosystem and rely on it for their day-to-day operations, making it much harder for them to make the switch. 4. Create a personal connection with your users Human connection is one of the most powerful drivers of user retention. People don’t want to feel like they’re using a cold, faceless platform. By offering exceptional customer support, personalized communication, and community engagement, you build a relationship with your users that goes beyond the product itself. Make sure your support team is responsive, knowledgeable, and empathetic. You can also consider offering tailored onboarding experiences to ensure users understand how to make the most of your platform. When users feel like their success matters to you, they are more likely to remain loyal. 5. Leverage data to personalize the user experience Using data to drive personalization is another strategy that can significantly increase the stickiness of your platform. By tracking user behavior and usage patterns, you can tailor the experience to each individual user’s needs. This could mean recommending features they haven’t yet explored or sending them reminders about tools they may not be fully utilizing. Personalization gives users the feeling that the platform was designed specifically for them, making it harder to walk away from. By demonstrating that you understand their unique needs, you can build a stronger connection and ultimately increase retention rates. 6. Focus on seamless integrations and API capabilities To further increase stickiness, consider expanding your product’s ability to integrate with other tools your users already rely on. Whether it’s email marketing software, CRM systems, or social media management tools, seamless integrations add tremendous value by making it easier for users to incorporate your platform into their existing workflows. The more your product can work in tandem with other popular tools, the more indispensable it becomes. In fact, users who depend on integrations are less likely to churn since their entire ecosystem is tied to your platform’s functionality. 7. Encourage user advocacy and community building User advocacy is another powerful tool in building a sticky product. When users feel a sense of community or even ownership over the platform, they become your most passionate promoters. Encourage your users to share their success stories, join community forums, or contribute to product development through beta testing or feedback loops. A thriving user community not only increases user engagement but also creates a sense of loyalty. When users are part of something larger than themselves, they are more likely to remain committed to your platform, reducing churn and increasing lifetime value. Create deep, lasting customer relationships Making your SaaS platform sticky is all about creating a deep, lasting connection with your users. This requires building a platform that continuously delivers value, creating a seamless and personalized experience, and integrating features that keep users coming back. By focusing on product innovation, offering a multi-product ecosystem, and fostering strong user relationships, you’ll be well on your way to reducing churn and boosting user retention. Stickiness isn’t just a nice-to-have; it’s essential for long-term success. Focus on creating a platform that users can’t imagine living without, and you’ll see them stick around for the long haul.
By Shawn Davis April 24, 2025
Your team is likely pretty familiar with the products they built, but what about the ones they didn’t? Integrated tools can throw a wrench into your support operations, but they don’t have to.
Show More

Latest posts