Paragraph text justify doesn't work after converting from Bootstrap 4 to 5

All other alignments work, but not to justify. See gif…
screen-record

Thanks @Jerry, it works great with a custom class.

Justify is no longer part of Bootstrap default classes in version 5. Although you can create your own class to make it it.

“Note that we don’t provide utility classes for justified text. While, aesthetically, justified text might look more appealing, it does make word-spacing more random and therefore harder to read.”

Care to share what we need to do?

It’s not removed from CSS. Just Bootstrap 5 classes.

The style is still valid. Which is why you can still justify text in Blocs.

https://www.w3schools.com/cssref/css3_pr_text-justify.asp

1 Like