Skip to content

Design4 min read

Hide the Scrollbar in Webflow

Introduction

MethodCompatibilityDifficulty
scrollbar-width: none (native Webflow CSS)All modern browsersVery easy
::-webkit-scrollbar + scrollbar-width (CSS embed)All browsersEasy

The CSS property overflow: scroll is used to control what happens when content exceeds the dimensions of a container element. When you use overflow: scroll, scrollbars are always visible, whether scrolling is needed or not.

That said, at Webflow agency Gemeos, we often run into the need to hide that scrollbar for aesthetic reasons. Chances are you’ve needed to do the same, so we turned it into a tutorial.

To do that, follow the steps below.

Solution 1 : Using CSS variables

The simplest solution is to add the CSS property scrollbar-width and set it to none (see screenshot)

Solution 2 : Using CSS

Add a class to the element with overflow:scroll

Overflow Scroll in Webflow

Add this code to your container

Just make sure you replace {votre-classe} with the class you set up just before

<style>
/* Hide the scrollbar for Chrome, Safari, and Opera */
.{your-class}::-webkit-scrollbar {
display: none;
}

/* Hide the scrollbar for IE and Edge */
.{your-class} {
-ms-overflow-style: none;
}

/* Hide the scrollbar for Firefox */
.{your-class} {
scrollbar-width: none;
}
</style>

Publish and enjoy

Hiding scrollbars is mostly a design choice. In some cases, it can give your site or app a cleaner look.

That said, make sure users still understand they can scroll, especially if the overflowing content is essential to the user experience.

blind

Published on Apr 10, 2025

Sandro DA SILVA

Growth Marketer, Webflow expert, and jack-of-all-trades. Sandro handles commercial operations, ensures projects run smoothly, and addresses marketing-related issues (SEO, Tracking, Copywriting, etc).

You're going to working with us, guaranteed

Ready to launch your business?

get a quote

Let’s f*****G GO !!