Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 06h 00m 21s
Claim 50% off
Solved Templates

Increase width of main article body in Pitech if no left or right sidebar

Asked by Daniel Michaels 4 years ago Last activity 4 years ago

Is there a way to increase the default width of the article layout if there is no right or left sidebar?
The Pitech articles are only 730 pixels wide. I'd like to make it at least 1100 pixels.
This website is currently on localhost, but its pretty easy to see the width on your own template (just view any blog article).

Accepted answer

Marked as the solution
Rashida Rahman Staff

Hi there!

Thanks for your query.

If you are not using any left/right sidebar, then you can use the following code in your custom CSS:

.view-article #sp-main-body .container {
    max-width: 1100px;
}

This will give you your desired width!

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

Note: Path towards custom CSS(Joomla 4): System > Site Templates Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.

Best Regards

2 more replies

Daniel Michaels Asked this

Excellent! Thank you for the quick response. Works as expected. I can even apply a right sidebar and the article resizes accordingly. Thanks again.

Rashida Rahman Staff

Glad to know that and you are always welcome:)

Log in to reply.