If your Webflow Slider is being cut off or not scaling properly on smaller screens, it's likely due to fixed heights, overflow settings, or large content inside the slides.
1. Review Slider Height Settings
- Select the Slider element, then check its height in the Style panel.
- Make sure you're not using a fixed height (like 400px). Instead, set the height to Auto so it grows with content.
- If you're using VH units (e.g., 100vh), consider switching to Auto or % values with media queries to improve responsiveness.
2. Set Slide and Mask to Auto Height
- Click on each Slide and set the Height to Auto.
- Select the Slider Mask element and also set its Height to Auto.
- Avoid setting min-height unless needed for layout consistency.
3. Adjust Overflow and Flex Settings
- Ensure the Overflow setting for the Slider, Slide, and Mask elements is not set to Hidden, unless necessary for animation.
- If using Flexbox inside slides, use Wrap: Wrap and Align Items: Stretch or Start to accommodate variable content.
4. Make Images and Content Responsive
- If the slides contain images or videos, make sure they:
- Use width: 100% and height: Auto.
- Don’t have fixed dimensions that force the slide height.
- For text blocks and other elements, avoid fixed heights/margins that may overflow on smaller screens.
5. Use Webflow's Responsive Preview
- Use the Device Preview Modes (desktop, tablet, mobile) in the Webflow Designer to verify how the slider behaves across breakpoints.
- Adjust padding, margin, font sizes, or layout accordingly at each breakpoint.
- If necessary, you can insert custom CSS into the Page Settings → Inside
<style>
tag section to force more precise control. - Only do this if the built-in Designer tools don’t meet your needs.
Summary
To make your Webflow Slider scale based on its content, set all height values to Auto, avoid overflow: hidden where it cuts off content, and ensure internal elements (like images and flex layouts) respond fluidly. Use Webflow’s device preview to fine-tune your layout across screen sizes.