Text Addon does Not Center Anymore - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

Text Addon does Not Center Anymore

R

Robert

SP Page Builder 4 months ago

Hello, the text block addon does not center anymore in the latest page builder. Text stays left alligned, titels do center

0
8 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 months ago #195393

Hard to say, by now please inside used Column (or Section) settings in CSS Class field add text-center

center_2025.gif

It should center content inside whole column, until something else is not "forced".

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 months ago #195378

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.

https://prnt.sc/TrIpVbod14L0

Best regards,

Toufiqur Rahman (Team Lead, Support)

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 months ago #195386

On my sites "Alignment" in Text addon also works.

Maybe you forgot to clear Cache if you enabled Production mode in SPPB settings, hmm?

0
R
Robert
Accepted Answer
4 months ago #195392

Hi it's build local for now.

Cleared cache, switched scss button, production mode on and off. Weird, the title does center

https://ibb.co/kVsTVSrg

https://ibb.co/TBPdkXZn

0
R
Robert
Accepted Answer
4 months ago #195426

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.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 months ago #195428

So again, mess made by webmaster ;p hahahah

0
R
Robert
Accepted Answer
4 months ago #195438

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..

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 months ago #195446

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.

0