Solved Templates

How to increase maximum width of article to match the max width of pagebuilder pages?

Asked by Sean Carney 3 years ago Last activity 3 years ago

I have just published a site using the Gazette template and Page builder 3.

I love the site but am wondering about one more change that I believe I want to make.

The width of all of the Page Builder pages is around 1,288 pixels.
Example: https://www.shalomadventure.com/lchaim

The Joomla pages have a different maximum width. The articles, search, tags, etc pages have a maxiumn width of around 1,110 pixels.
Example: https://www.shalomadventure.com/lchaim/to-your-health/fiber-complex-and-simple-dr-hans-diehl

How can I change the maximum width of the Joomla content pages to match the maximum width of the Page Builder pages?

Thanks, Sean Carney

Accepted answer

Marked as the solution
Rashida Rahman Staff

Hi there!

Thanks for your query.

You may try media query for that, here is sample code for you:

@media (min-width: 1200px){
.container {
    max-width: 1320px !important;
}
}

It will be applicable from 1200px resolution. You may change the resolution and width value as per your need.

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.

Best Regards

2 more replies

Sean Carney Asked this

That worked out perfectly. Thanks.

Rashida Rahman Staff

Glad to know that and you are always welcome:)

Log in to reply.