-
dstro003
I created a layout element and set the width to full width as I need different colored full width backgrounds.
The problem when I do this is that the default GP comments on posts expand the entire width of the page. I want to put these in a container of 1300px.
I am not sure how to do this. I explain this in more detail in the video here:
https://drive.google.com/file/d/1a0znXwC883anT6YtmR-JRP2YZVhtbdFH/view?usp=drivesdk
Here is one of the pages that has this layout:
https://soundshockaudio.com/new-plugins-design-hero-dark/ -
Hi there,
CSS is the only solution for now:
.single.full-width-content .comments-area { max-width: 1300px; margin-left: auto; margin-right: auto; }
Learn how to add CSS: https://docs.generatepress.com/article/adding-css/
The above code would set the single posts comment area to
1300px
when the content container is set to Full.Let me know if this helps 🙂
-
dstro003
Thank you for the CSS. This worked!
-
No problem 🙂
- You must be logged in to reply to this topic.