Archived topic
How can I change the container width of just posts and keep pages as they are?
3 replies · Started by kyle on April 10, 2017
How can I change the container width of just posts and keep pages as they are?
Thanks in advance
Kyle
Hi Kyle,
You are referring to single posts I assume? If so try this CSS:
.single .grid-container {
max-width: 1000px;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know.
Okay, this worked but now I have another unforeseen issue. I would like my nav bar to remain the same width as on the other pages and not expand with this larger post container size.
Would you happen to know how I can achieve this?
Thank you :)
Try this CSS instead:
.single .site.grid-container {
max-width: 1000px;
}
Let me know :)