Archived topic
Comment Filed Width
9 replies · Started by Gevorg on August 15, 2020
Hello,
Could you help us to have a custom width for the comments section?
For example, a 1000 px for a 1200 px site or a full width container.
Also, would it be possible to have this apply oo individual pages and posts instead of a universal solution?
Thank you
Hi there,
Any chance you can link us to the site in question?
You can edit the original topic and use the private URL field.
Let me know :)
Hi Leo,
Just added the link.
Thanks
Sorry I don't see a default comment field on the page you've linked?
Ok, I disabled it because it gets full with which is not pretty.
I added a new URL which does have a comment field. However, the page is set to have a sidebar here and that's why there is no problem of having the comment field going to wide.
Any chance you can let me see the actual issue without the sidebar?
Sure, just updated the link.
Let's try this CSS:
body.full-width-content .comments-area {
max-width: 800px;
margin-left: auto;
margin-right: auto;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Leo, that was super cool. Thanks and have a great day!
No problem :)