Archived topic
Decrease Text Width of Blog While Keeping Container the Same Size
5 replies · Started by Greg on January 10, 2020
I have a merchandise site with a blog. I would love to extend the container when products are featured, but it also increases the width of the text on blogs. What CSS could I use to contain the width of text to a smaller area while having everything else fill the container properly? I would love for the homepage to fill up most of the desktop screen while the blog is contained to a small area in the middle. Thanks!
Hi there,
you can use the Layout Element to change the Content Width for different pages/posts/archives etc:
https://docs.generatepress.com/article/layout-element-overview/
That's so much easier than CSS, haha. Thanks for the help. It's exactly what I was looking for. I didn't even know about that option, so it's nice to know now that it's there. The video was very helpful.
Glad to be of help
I was looking for this, amazing there are in-build functions for this! :D
Awesome - glad you found this of help :)