Archived topic
How to change the width for the content in the split template
7 replies · Started by Jesús on July 27, 2022
Hi there,
I hope everyone is doing great.
The issue I have is as follows: Using the Split template from the site library, I'd like to make the content on the pages wider than it is.
I've looked on both "Elements" (GeneratePress section) and "Additional CSS" (in customize), but I can't find what to change exactly.
Any help?
Thanks a lot in advance,
Jesús
Hi there,
Any chance you can link us to the page in question?
You can use the private information field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Let me know :)
Good morning,
Here it is.
Hi Jesus,
Try increasing the Container Width in Customize > Layout > Container.
Let us know how it goes.
Hi, Fernando.
I increased the width to 1800px. But it doesn't look to have any effect. Look on the examples below.
Is it possible that the split template has any "Addtional CSS" that is forcing that width?
In Customize > Additional CSS, you have this code:
.no-sidebar .inside-article > *, .no-sidebar #comments, .no-sidebar .nav-links {
max-width: 700px;
margin-left: auto;
margin-right: auto;
}
The max-width rule is causing the issue. You can remove this code and see how it goes.
Yes. It was it.
Thank you so much for your help :D
You’re welcome Jesus! :)