Center Align Articles - Question | JoomShaper

Center Align Articles

PI

Peter Igel

SP Page Builder 1 month ago

I have maybe a simple question for someone who is deeper in the system. I just want to center the articles on my site. https://energie-bilanzierung.de/.../insitu-triclamp-sil for example. On my old page (Joomla 3, thats why I change to a new site with new template), the template did this by itself but now its all left aligned. Thanks for help 🙂

0
5 Answers
Spiros Kolovos
Spiros Kolovos
Accepted Answer
1 month ago #154481

Your Page seems to have lots of errors on the styling code.

► For example on the correct view, the responsive width of your container class is 1116px and the scaffolding code is read via Bootstrap.

► On the "wrong" view one, someone established the width of some elements in a custom.css file as "width:100%", but there is a mixup of the container width code.

custom.css code line 663:

.view-article #sp-main-body > .container { max-width: 100%; padding: 0; }

If you remove (or comment) the above line, then your page will look as it should due to the roll down to bootstrap scaffolding that is already there:

@media (min-width: 1400px) .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl { max-width: 1320px; } More on Bootstrap here: https://getbootstrap.com/docs/5.0/layout/containers/

1
PI
Peter Igel
Accepted Answer
1 month ago #154482

wow thats so great! Thanks a lot

0
Spiros Kolovos
Spiros Kolovos
Accepted Answer
1 month ago #154483

No problem.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 1 month ago #154464

Hi

Thanks for contacting us. Could you please check your site? I cant access on that.

https://prnt.sc/cr8kx_kk_w4Z

-Regards.

0
PI
Peter Igel
Accepted Answer
1 month ago #154466
0