To truncate long names or bios in your Webflow CMS without text wrapping or resizing, you need to use custom CSS to apply text truncation with ellipsis. This ensures that the grid maintains consistent size and layout.
truncate-text
.In the Style panel for this class:
Block
or Inline Block
.No Wrap
.Hidden
.Ellipsis
.This will prevent the text from wrapping and instead display an ellipsis (...
) when the text exceeds the defined width.
For longer bios where you need multi-line truncation, Webflow doesn’t support this directly through the style panel, but you can inject custom code:
Add an Embed component to your page or inside the <head>
section in Page Settings.
Apply the truncate-multiline
class in Webflow to your bio element, and in the embed, include inline CSS like:
``
This will limit the bio to a fixed number of lines with ellipsis shown after the final visible line.
Use CSS properties like overflow: hidden, text-overflow: ellipsis, and white-space: nowrap to truncate single-line text like names. For bios, use -webkit-line-clamp
for multi-line truncation via embedded CSS. This ensures consistent grid sizes without wrapping or shrinking text.