Themis Template Body Automatically Left Aligned - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Themis Template Body Automatically Left Aligned

Dinuka

Dinuka

Template 3 years ago

In themis template body automatically left aligned without doing anything. how can i fixed this? https://ict.kln.ac.lk

0
8 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #84984

center =/= justify

But I hope you know the basics of CSS, right.


But I still don't know what areas you want to center?

Any example /screenshot/ with URL where to look for it.

For example if you want to center all texts used in addons

.sppb-addon.sppb-addon-text-block, .sppb-addon-content 
{ text-align: center; }
0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 3 years ago #84854

Hi

Thanks for contacting us. Are you talking about this?

https://prnt.sc/4ALmNJVJ3wL2

-Regards.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #84860

Hi Dinuka,

text-align: left;

LTR (Left-to-right) text direction is in general, popular value. This is not a bug, it's how it was set in Bootstrap 5 framework (we used it in Helix).

Yes, you can force/override different setting, example below, but it may not be good is all cases.

body { text-align: justify; }

0
Dinuka
Dinuka
Accepted Answer
3 years ago #84900

Mehtaz Afsana Borsha - yes it is. In all pages body aligned to left.

So how i used this body { text-align: justify; }. I didnt get that answer.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #84951

Please read Helix documenation where we explained how to use custom CSS.

https://www.joomshaper.com/documentation/helix-framework/helix-ultimate-2/custom-code-css-js-meta

Have You never used that before?

0
Dinuka
Dinuka
Accepted Answer
3 years ago #84970

I know how to use custom CSS. But body { text-align: justify; } is not working.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #84975

This is the only main rule that it was.

So I will ask different way, where exactly you want to change from text-align: LEFT to text-align: justify ?


I know how to use custom CSS.

If yes, Why I don't see my code inside your Custom CSS area. I don't talk about custom.css file. Hmm?

0
Dinuka
Dinuka
Accepted Answer
3 years ago #84980

I put this into custom css and it was not work. so i removed. can you see my all pages contents aligh to left. i need to move them center. i aready share credentials. Can you just try it?

0