To implement a custom horizontal scrollbar in Webflow (like in your reference image), you'll need to use Webflow's native styles and optionally inject custom CSS for further customization.
scroll-wrapper
).Webflow does not support full scrollbar customization natively in the Designer. You can style width and color to a small extent using custom CSS injected into the project settings.
<style>
tag:<style>.scroll-wrapper::-webkit-scrollbar { height: 10px;}.scroll-wrapper::-webkit-scrollbar-track { background: #f0f0f0;}.scroll-wrapper::-webkit-scrollbar-thumb { background-color: #888; border-radius: 10px; border: 2px solid #f0f0f0;}/* Optional: Firefox Compatibility */.scroll-wrapper { scrollbar-width: thin; scrollbar-color: #888 #f0f0f0;}</style>
::-webkit-scrollbar
) work in Chrome, Edge, and Safari.scrollbar-width
and scrollbar-color
, which offer limited styling.To improve UX:
.scroll-wrapper { -webkit-overflow-scrolling: touch; scroll-behavior: smooth;}
Include this inside the same <style>
tag mentioned earlier.
You can create a custom horizontal scrollbar in Webflow by building a horizontal scroll section with flex and using custom CSS to style the scrollbar. While Webflow Designer doesn’t offer full scrollbar control, injecting CSS gives you the styling flexibility needed for a polished horizontal scroll experience.