Product
Designer
CMS
Ecommerce
Interactions
Memberships
Editor
Logic
SEO
Hosting
Security
Marketplace
Overview
Libraries
Apps
Hire a Certified Partner
Templates
Made in Webflow
Learn
Resources
Community
Ebooks
Forum
Blog
Support
Login
Contact Sales
Get started
— it's free
Made in Webflow
Removing Runts/Widows
Brian Love
B
Brian Love
4
Clone in Webflow
23
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
© Copyright info
More sites by Brian Love
See profile
View details
Calculating The Estimated Reading Time For Your Webflow CMS Using Javascript
14
220
View details
Thumbnail Gallery Interaction For Your E-Commerce Products
14
399
View details
Use A Dropdown Component To Control Tabs
11
267
Similar sites
View details
Transition Utility Pt. 1
73
163
CJ Hersh
View details
Custom Product Quantity Buttons
48
Noah Raskin
View details
Dot cloneable portfolio
20
47
KajalValand
View details
designpodcast
11
72
Ankita Gupta
View details
Sticky is Stuck
11
12
Tony Seets
View details
Enhanced branding with :focus-visible and ::selection
3
2
Web Bae
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
Cookie preferences
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
Cookie preferences
Social
Social