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

It’s not working in a BS5 project as well. As I personally prefer to use classes instead of the Inspector there’s still an error. The custom class added to the paragraph only align when alignment in the inspector is set to justify the content. I suggest you report this as a possible bug. @Norm ? :thinking:

Kapture 2021-10-22 at 16.16.11

1 Like

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