Is there a way to create a horizontal scroll for images, texts, and layouts on mobile using Webflow?

TL;DR
  • Add a section with overflow hidden, place a flex-direction row div block inside for horizontal items, and set overflow to auto.
  • Insert and size content within the div block, adjust mobile styles, test for device compatibility, and optionally enable smooth scrolling in project settings.

Creating a horizontal scroll for elements like images, texts, and layouts on mobile in Webflow is possible by using certain features and styling. Below are the steps to achieve this.

1. Set Up Your Section

  • Add a Section to your Webflow project where you want the horizontal scroll.
  • Set the Section to Overflow: Hidden to ensure that contents outside the viewport do not show unless scrolled.

2. Create a Scrolling Wrapper

  • Add a Div Block inside the section. This will act as the scrolling-wrapper.
  • Set the Div Block to Display: Flex and Direction: Row to arrange items horizontally.
  • Set Overflow to Auto on the scrolling-wrapper to enable scrolling.

3. Insert Your Content

  • Add your Content (e.g., images, texts, layouts) inside the scrolling-wrapper.
  • Ensure Each Item has a Width (in percentage or fixed pixels) appropriate for an easy horizontal scroll. For example, 100vw for full viewport width.

4. Style for Mobile

  • Make sure to adjust the styles and layout so it fits well on mobile. Use Webflow’s responsive design tools.
  • Test on different devices to ensure the horizontal scroll works smoothly. Consider using media queries if needed for specific adjustments.

5. Add Smooth Scrolling (Optional)

  • You can enhance the user experience by adding smooth scrolling
  • Go to Project Settings and enable smooth scrolling under the options.

Summary

You can create a horizontal scroll by using a flexible layout with overflow set to auto on a wrapper div. Populate this with your content, ensuring it is styled for mobile use. This setup enables smooth horizontal scrolling on mobile devices.

Rate this answer

Other Webflow Questions