Not word breaking after hyphen?

Soldato
Joined
27 Dec 2005
Posts
17,310
Location
Bristol
Is this possible? I've got a hyphenated word in an h1 which is word breaking after the hyphen and looks awful. Only thing I can find online is to use 8208; instead, but that displays as underscore on mobile?
 
Use a non-breaking space  

edit: sorry, misunderstood that. Non-breaking space is not what you need.

You could add a <span> around it and a "white-space: nowrap" style. Or just add that style to the H1 tags.
 
Back
Top Bottom