Archived topic
Single posts narrow content container
3 replies · Started by Ted on July 26, 2021
Greetings,
I would really like to have a different container width for some posts. Right now the costum CSS in Customizer has this snigle posts narrow content container:
/* Single posts narrow content container */
.one-container .entry-content, .comments-area, footer.entry-meta {
max-width: 725px;
margin-left: auto;
margin-right: auto;
}
my site is: https://thegreatestsong.com
I use elementor page builder with generate press as my theme. Forgive my ignorance, but could you tell me how to modify this container for other posts. Many thanks for your help.
Hi Ted,
Can you try creating a layout element using the content width setting instead?
https://docs.generatepress.com/article/layout-element-overview/#content-1
The display rule would be Post > All Posts.
See more info here:
https://youtu.be/zE8t7VGu2g0?t=424
Thanks for the quick reply. This is exactly what I needed. Solved. Many thanks!!
No problem :)