If text is overflowing or not wrapping properly in Webflow on smaller screens, it usually means a CSS property or layout setting is preventing it from breaking into multiple lines.
1. Set Proper Display and Width
- Ensure text-containing elements (like Div Blocks or Text Blocks) are set to a flexible width.
- If they’re set to Width: Fixed or Max-Content, they won’t shrink on smaller screens.
- Use Width: 100% on block-level containers, and use Flex (Wrap) if applicable.
2. Adjust White Space Settings
- Select the text element and check the Style panel > Typography section.
- Make sure White Space is set to Normal.
- Avoid settings like Nowrap unless you're intentionally preventing line breaks.
3. Prevent Overflow Using Overflow Control
- Click the parent container in Webflow.
- In the Style panel, scroll to the Layout section.
- Set Overflow to Hidden, Auto, or Scroll as needed to manage excess content.
- Typically, use Hidden or let the element wrap to avoid content from spilling outside.
4. Use Responsive Typography
- Set text styles using VW (Viewport Width), REM, or EM units instead of fixed PX sizes.
- Adjust font sizes per breakpoint (Tablet, Mobile) in the Style panel to ensure text scales appropriately.
5. Check Flexbox and Grid Settings
- If your layout uses Flexbox, ensure Wrap: Wrap is enabled.
- In Grid layouts, check that rows and columns are set to auto or fractional units (FR) so content resizes.
Summary
To wrap text and prevent overflow in Webflow, set text containers to flexible widths, use White Space: Normal, enable Flex Wrap if using Flexbox, and adjust font sizes and overflow settings per breakpoint. This approach ensures clean, responsive text behavior across all screen sizes.