I made a horizontal scrolling exactly like the one in this Webflow video
However, in both Webflow’s design and my design there is a horizontal scrolling bar that appears on the whole page because of the track element and its children
Is there a way to hide this horizontal scrolling bar without losing the element?
You can try adding this code to Page Settings > Custom Code > Head code:
<style>
body {
overflow-x: hidden;
}
</style>
If you wanted to hide both the vertical and horizontal scrollbar, you could try this code:
<style>
body {
-ms-overflow-style: none; /* for Internet Explorer, Edge */
scrollbar-width: none; /* for Firefox */
}
body::-webkit-scrollbar {
display: none; /* for Chrome, Safari, and Opera */
}
</style>