How can I hide the scrollbar that appears in the middle of the screen when using the "Auto Scroll" feature in Webflow for my left-aligned div?

TL;DR
  • Open Webflow project, select the div, set Overflow to hidden in Style panel.
  • For more control, add custom CSS in Project Settings using a .custom-scrollbar class.
  • Publish to apply changes.

If the scrollbar appears when using the Auto Scroll feature in Webflow, you likely want to hide it to maintain a cleaner design. Here's how to achieve that:

1. Access Your Webflow Project

  • Open your project in Webflow and navigate to the page with the left-aligned div where the Auto Scroll feature is applied.

2. Select the Div Element

  • Click on the div in the Navigator panel or directly on the canvas.

3. Adjust Overflow Property

  • In the Style panel, find the Overflow setting.
  • Set the Overflow property to hidden. This will effectively hide the scrollbar by preventing overflow content from being visible.

4. Use Custom CSS for Advanced Control

  • If hiding the default scrollbar isn't enough and you need to tweak it further, you can use custom CSS.
  • Navigate to Project Settings and then to Custom Code.
  • In the "Inside Head Tag" section, add the following CSS between <style> tags:
  • .custom-scrollbar { overflow: hidden; }
  • Ensure the div has a class named custom-scrollbar or adjust the CSS to fit your div class.

5. Publish to View Changes

  • Publish your project to see the changes live on your site.

Summary

To hide the scrollbar for a left-aligned div using Auto Scroll in Webflow, set the div's Overflow property to hidden in the Style panel. For more custom adjustments, apply custom CSS in the Project Settings. This ensures a seamless, scrollbar-free design.

Rate this answer

Other Webflow Questions