WordPress & Elementor Website Design Guide

Can You Make an Elementor Button Scroll to a Section in Hostinger?

Updated: June 2026 Checked by SaaSphere Technical TeamCategory: WordPress Page Builder Controls

1. What Is a Scroll Button?

A scroll button (or anchor button) is a navigation element on a webpage that, when clicked, automatically scrolls the viewport down to a specific section of the same page rather than loading a completely new page.

This is highly useful on long landing pages, sales letters, or single-page portfolios where you want to guide users directly to pricing tables, signup forms, or product specifications instantly. By implementing smooth scrolling, you create a seamless and professional user experience that increases overall conversion rates.

2. Anchor Links Explained

At the core of scroll buttons are HTML anchor links. In HTML, elements can be assigned a unique identifier using the id attribute (e.g., id="pricing").

When a link contains a hash symbol followed by that identifier (e.g., #pricing) in its reference field (href), the browser intercepts the request and targets that element, shifting the scroll offset of the window to match the vertical location of the target container.

3. Creating a Scroll Button in Elementor

Creating an anchor scroll button in Elementor is extremely straightforward. Here is the standard hPanel WordPress editor workflow:

  1. Log into your WordPress dashboard and open the page you want to edit with Elementor.
  2. Drag a Button widget from the Elementor sidebar and drop it into your section.
  3. In the button settings panel on the left, locate the Link field.
  4. Input a hashtag followed by your custom CSS ID (e.g., #pricing-table). Do not include spaces or special characters.
  5. Click Update to save.
[Screenshot Placeholder: Elementor Button Widget link settings panel showing the target anchor hash value]

4. Adding CSS Anchor IDs

Once the button has been configured with the hash link, you must set the target section to match that ID.

  1. Scroll down to the target section or container you want the button to scroll to.
  2. Click the Edit Section (six dots) or Edit Container handle at the top of that element.
  3. In the left settings panel, navigate to the Advanced tab.
  4. Locate the CSS ID field (third option from the top).
  5. Enter your custom ID matching the hash link without the hashtag symbol (e.g., input pricing-table, not #pricing-table).
  6. Click Update. The connection is now complete.
[Screenshot Placeholder: Elementor Advanced Section tab showing the CSS ID configuration input]

5. Enabling Smooth Scrolling

If your website jumps instantly to the section rather than sliding down smoothly, you must enable smooth scrolling.

Most modern themes enable smooth scrolling by default. If yours does not, you can force it globally by adding this simple CSS rule to your WordPress Customizer (Appearance -> Customize -> Additional CSS):

html {
scroll-behavior: smooth;
}

6. Mobile Optimization & Offsets

Sticky headers can cover the top of target sections on mobile viewports. If you experience this issue, you must adjust the scrolling offset.

You can achieve this by adding top padding directly to the target section in Elementor. For example, add 90px of top padding to the container, and offset it with a negative top margin (e.g. -90px) to keep the design identical while shifting the scroll anchor upward.

7. Troubleshooting Scrolling Errors

Problem: Clicking the button does absolutely nothing

Check for spelling mismatches between the button link and the target CSS ID. Ensure you included the hashtag in the button settings and omitted it in the section settings.

Problem: The page reloads before scrolling

Make sure you did not enter the full site URL (e.g. yoursite.com/#pricing) on a single-page setup. If you are on the same page, keep the link strictly as the hash ID (#pricing) to prevent reload cycles.

8. Common Elementor & Hostinger Issues

Hostinger servers use optimized LiteSpeed caching nodes. If you update your Elementor anchor links and they fail to show on the front end, click the Purge All button inside the LiteSpeed Cache plugin settings bar at the top of your WordPress admin panel. This clears the compiled JS/CSS arrays and compiles the new anchor layouts.

Guide Quality & Editorial Integrity

SaaSphere maintains a dedicated technical sandbox lab to run active hosting server deployments. This redirect guide is updated for 2026 hPanel layouts and checked against real Apache/LiteSpeed config standards. Written by our in-house systems team.

Frequently Asked Questions (FAQ)

Verified Promo Deal

Need a new hosting tier? Get up to 85% OFF on Hostinger by using our verified promo code at checkout.

SAASPHERE
Claim Deal