Joomla Articles shown in Full with, how can I change to smaller width - Forum | JoomShaper
Solved Helix Framework

Joomla Articles shown in Full with, how can I change to smaller width

Asked by Doris Zahnleiter 3 years ago Last activity 3 years ago

When I create a post in Joomla via Content/Article, then the article is displayed full width. How can display articles narrower centered.

I updated an older Website to J4 with many Articles and it is to much work to build them new in pagebuilder. The startpage is made with pagbuilder.

Temeplate: Gourmand

Example link in the attachment

Accepted answer

Marked as the solution
Mehtaz Afsana Borsha Staff

Ok in that case, you have to use this custom CSS

.article-details p{
  margin:0 auto !important;
}

10 more replies

Mehtaz Afsana Borsha Staff

Hi

Thanks for contacting us. Could you please give me a screenshot of your issue?

-Regards.

Mehtaz Afsana Borsha Staff

Could you please explain it a bit more?

Doris Zahnleiter Asked this

Hi, I made a Video with my problem. Its in hiden content

Mehtaz Afsana Borsha Staff

Hi

Use this custom CSS

.article-details p {
    text-align:center;
    padding: 20px !important;
    width:1400px;
}

Path towards custom CSS: Extensions>Templates>Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.

Doris Zahnleiter Asked this

Hi,

cool, the width is now correct. The only thing is: I dont want the Lines centered, I want the hole Text-Block centered.

What is the css command?

Thanks for helping!

Doris Zahnleiter Asked this

OK;-) Again a Video

Thanks for helping

Doris Zahnleiter Asked this

YES! Thanks for helping!

Mehtaz Afsana Borsha Staff

Glad to know that. You are most welcome. You can now close this post by accepting the answer.

Log in to reply.