Increase Width Of Main Article Body In Pitech If No Left Or Right Sidebar - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Increase Width Of Main Article Body In Pitech If No Left Or Right Sidebar

DM

Daniel Michaels

Template 3 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).

0
3 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 3 years ago #58580

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

0
DM
Daniel Michaels
Accepted Answer
3 years ago #58584

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

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 3 years ago #58593

Glad to know that and you are always welcome:)

0