Designer
CMS
Ecommerce
Interactions
Memberships
Editor
Logic
SEO
Hosting
Security
Overview
Libraries
Apps
Hire a Certified Partner
Templates
Made in Webflow
Learn
Community Overview
Ebooks
Community Homebase
Blog
Support
LoginContact Sales
Get started — it's free
Made in Webflow

Removing Runts/Widows

Brian Love
B
Brian Love
Clone in Webflow25
site profile thumbnail
Open in Webflow
Open live site
I have paragraphs with the class of "runt" and I used a Javascript snippet to remove all runts/widows on those paragraphs. Code adds a non-breaking space before the last word in the string
Open in Webflow
Open live site
runts
typography
widows
type

More sites by Brian Love

See profile
Use A Dropdown Component To Control Tabs
18
521
Calculating The Estimated Reading Time For Your Webflow CMS Using Javascript
18
321
Thumbnail Gallery Interaction For Your E-Commerce Products
17
575

Similar sites

author avatar
designpodcast
14
82
Ankita Gupta
author avatar
Sticky is Stuck
12
13
Tony Seets
author avatar
Enhanced branding with :focus-visible and ::selection
3
6
Web Bae
Brian Love
BL
Calculating The Estimated Reading Time For Your Webflow CMS Using Javascript
18
321
Brian Love
author avatar
Together with Love
0
Rains Media
author avatar
{ knowcode: 'club' }
1
corsettiDev
Explore
  • Dashboard
  • Marketplace
  • Hire designers
Learn & get help
  • Support
  • University
  • Courses
  • Blog
  • Ebooks
  • Forum
  • Community
  • Developers
  • Wishlist
  • Status
Company
  • About
  • Careers
  • Sitemap
  • Become an Affiliate
Terms & policy
  • Terms of Service
  • Privacy policy
  • Cookie policy
Social
Social
Explore
  • Dashboard
  • Marketplace
  • Hire designers
Learn & get help
  • Support
  • University
  • Courses
  • Blog
  • Ebooks
  • Forum
  • Community
  • Developers
  • Wishlist
  • Status
Company
  • About
  • Careers
  • Sitemap
  • Become an Affiliate
Terms & policy
  • Terms of Service
  • Privacy policy
  • Cookie policy
Social
Social