To achieve smooth scrolling when linking to another section within the same page in Webflow, follow these steps:
1. Add an ID to the Target Section
- Select the section that you want to scroll to when clicking a link.
- In the Settings panel (⚙️), look for the field labeled ID.
- Enter a unique ID for that section (e.g.,
#about-us).
2. Create a Link with the Correct URL
- Select the element you'd like to turn into a link (e.g., button, text, etc.).
- In the Settings panel (⚙️), locate the Link settings.
- Use the '#id' format to link to the target section's ID (e.g.,
#about-us).
3. Enable Smooth Scrolling in Page Settings
- Navigate to the page settings by selecting Page settings from the Pages panel.
- In the Custom Code section, ensure that Smooth Scroll is enabled.
4. Publish and Test
- Publish your project to see the changes live.
- Test the link to ensure it smoothly scrolls to the designated section.
Summary
For smooth scrolling, assign an ID to the target section, create a link using #id format, and ensure Smooth Scroll is enabled in the Page settings.