Skip to content

Enabling Scroll to Specific Content on Click

Scrolling to specific content allows users to navigate your page effortlessly without manual scrolling. ClickFunnels provides a built-in Scroll to feature triggered by buttons and text links to guide visitors to specific Sections, Rows, Flex, or Elements. In this article, you’ll learn how to prepare a target container and configure button actions and text links to enable smooth scrolling.


  • An active ClickFunnels account

  • A page created in your workspace

  • A button or text element


Scroll to Content is a feature that enables smooth navigation within a page by directing users to a specific section when they click a button or text link. Instead of manually scrolling, visitors can be instantly guided to relevant content, improving the user experience.

Example:

Consider a funnel page that comprises a Hero section, Testimonials section, About Us section, Offer section, and a Checkout section where users finalize their purchases. In the Hero section, you may incorporate an “Order Now” button and configure its action to scroll to the Checkout section. When users click this button, the page will smoothly transition to the Checkout section, making the purchasing process quicker and more seamless.


Step 1 - Select a Container and Change Its Title

Section titled “Step 1 - Select a Container and Change Its Title”

Before setting up the scroll action, you must identify where the link should navigate when clicked. ClickFunnels allows you to scroll to Sections, Rows, Flex, or Elements.

A container refers to any Section, Row, Flex, or Element on the page. When you set up a **scroll-to-**action link, the link will scroll the page to the selected container. It’s recommended that the container be given a clear title for easier selection.

  1. In the page editor, hover over a container (Section, Row, Flex, or Element).

  2. Click the Code <> icon.

  3. In the code editor, navigate to the CSS Info section

  4. In the Title field, add the container’s Title.

  5. Click Update to save changes.


Setting the Button Action to "Scroll To"

Once the container is ready, follow these steps to configure a button to scroll to it:

  1. In the page editor, click the orange + Plus or Add New Element button inside the row to insert a new element.

  2. From the Form category, select the Button element.

  3. Open the Button Settings and locate the Button Action section.

  4. In the On Click settings, set the Button Action to “Scroll to.”

  5. A drop-down menu will appear, showing available Sections, Rows, Flex, and Elements (using the titles assigned earlier).

  6. Select the container you want to scroll to.

  7. Click Save to save your changes.

Now, when visitors click the button, the page will automatically scroll to the designated content.

Using Text Links to Scroll to Content

You can also enable scrolling by linking text to a specific part of the page. This is useful for linking inline text, such as “Learn more” or “Go to checkout.”

To do this, use the format: #scroll-[ID], where [ID] is the system-generated ID of the target container (Section, Row, Flex, or Element).

  1. In the page editor, open the Code <> panel of the container you want to scroll to.

  2. When the CSS tab is selected, find the CSS Info section.

  3. Below the CSS ID Selector field, click Generate ID.

  4. Copy the system-generated ID (e.g., #id-6Z-8oepNL-481) displayed in the CSS Info section.

  5. Navigate to the text where you want to link the action.

  6. Link the text to #scroll-[ID], replacing the ID (e.g., scroll-id-6Z-8oepNL-481) with the one from your container.