To build a horizontal scrolling section in Webflow that works smoothly with mouse wheels, touch gestures, and hides scroll bars across all browsers, follow these steps:
tag to hide scrollbars:
<style>.scroll-wrapper { scrollbar-width: none; /* Firefox */ -ms-overflow-style: none; /* IE/Edge */}.scroll-wrapper::-webkit-scrollbar { display: none; /* Chrome/Safari */}</style>
.scroll-wrapper
with the actual class name you’re using.<script> const scrollContainer = document.querySelector('.scroll-wrapper'); scrollContainer.addEventListener('wheel', function(e) { e.preventDefault(); scrollContainer.scrollLeft += e.deltaY; });</script>
.scroll-wrapper
matches your class name from Webflow.scroll-snap-type: x mandatory;
.scroll-snap-align: start;
in custom code or style panel.Create a horizontal scrollable wrapper with flex-row layout and horizontal overflow, hide scrollbars via custom CSS, convert vertical scroll to horizontal with JS, and support touch by ensuring native scrolling remains enabled. This setup ensures a clean, scroll-friendly, cursor-friendly, and touch-compatible horizontal scroll section in Webflow.