

Next, you’ll want to create a new file named topbutton.js within your js folder. In this folder, we’ll need to create a script file that will dictate how your button will behave on your site. Once you’ve added your site’s credentials, navigate to wp-content > themes > yourtheme > js (your theme being the theme you’ve selected for your site): For this example, we’ll use FTP solution FileZilla, as it is user-friendly, secure, and available for every platform. The first step will be to access your WordPress website’s files via File Transfer Protocol (FTP) to locate your JavaScript folder. As such, it’s a good idea to use a child t heme when adding the button via HTML (as well as backing up your site).
#Visual composer download button code#
This method is ideal if you want to directly tweak the appearance and behavior of your page scroll back-to-top button manually (and refrain from burdening your site with extra WordPress menu plugins).īefore you begin, remember you’ll be playing around with code under the hood. Adding a Scroll Back-to-Top Button with HTML

#Visual composer download button how to#
This piece will cover exactly how to do this.

If you use long-form content, incorporating a scroll back-to-top button is highly recommended. They’re suitable for all devices and screens, and typically float in the bottom right hand corner of the screen. As the name suggests, once clicked, this simply brings your user back to the top of the page they’re on. However, simply generating long content and ignoring UX will likely put your readers off.Īdding a back-to-top button can help you avoid this. This makes sense, as long-form content presents more opportunity for conveying detailed information, showcasing more images, and increasing Search Engine Optimization (SEO). It’s no secret that long-form content is increasing in popularity on the web. Reliable and Affordable WordPress Support With WP Engine Back-to-Top Button
