Hello, the text block addon does not center anymore in the latest page builder. Text stays left alligned, titels do center
Text addon does not center anymore
Accepted answer
Marked as the solutionHard to say, by now please inside used Column (or Section) settings in CSS Class field add
text-center

It should center content inside whole column, until something else is not "forced".
4 more replies
Hi there,
Thank you for reaching out, and I apologize for any inconvenience caused by this oversight. To better address the issue, could you kindly provide Joomla administrator access? This will enable me to thoroughly investigate the matter and provide you with a prompt resolution.
I have checked my end and it works fine.
Best regards,
Toufiqur Rahman (Team Lead, Support)
On my sites "Alignment" in Text addon also works.
Maybe you forgot to clear Cache if you enabled Production mode in SPPB settings, hmm?
Hi it's build local for now.
Cleared cache, switched scss button, production mode on and off. Weird, the title does center
Found it in my custom css:
p {
font-size: 1.125rem;
margin-bottom: 1rem;
max-width: 700px;
}
Thank you for confirming at your end it works as it should.
"max-width: 700px" had to go.. now it's fine.
So again, mess made by webmaster ;p hahahah
yeah, didn't realize that when the text is centered with text-align: center, but the p-tag has a fixed max-width and no margin it will remain left aligned within that.
Wanted to add a clean css file that handles all typography and elements with local served fonts.
Getting closer to the one file I can use in future sites :p
Not a webmaster Paul, just an enthousiast who loves Page Builder and discovering along the way..
That's why I said "hahaha" , we all make mistakes from time to time.
If you add extra CSS you have to think two steps ahead what it can do with other elemensts.