Product
Designer
CMS
Ecommerce
Interactions
Memberships
Editor
Logic
SEO
Hosting
Security
Marketplace
Overview
Libraries
Apps
Hire an Expert
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
16
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
Thumbnail Gallery Interaction For Your E-Commerce Products
13
319
View details
Calculating The Estimated Reading Time For Your Webflow CMS Using Javascript
7
161
View details
Highlight Current Day
6
18
Similar sites
View details
Transition Utility Pt. 1
68
155
CJ Hersh
View details
Dram's Add-Remove Class
26
60
Alex Dram
View details
Custom Product Quantity Buttons
47
Noah Raskin
View details
designpodcast
10
63
Ankita Gupta
View details
Sticky is Stuck
11
11
Tony Seets
View details
now-in-space
22
67
Vlad Danilchenko
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