Archived topic
Full Width Banner does not display Full Width except for Home Page
5 replies · Started by Martin on February 19, 2023
This is a strange one.
I'm re-doing the layout on a website https://guestwiki.com/ and added a full-width banner at the top underneath the menu.
I then converted that to a reusable block. Then I added the same block to another page https://guestwiki.com/about/
but on the second page, the banner will not display full width even though the container is set as full width.
Any thoughts about how I can solve this?
Thanks.
Hi Martin,
Try adding the Banner through a Block Element - Page Hero or Hook. Hook it to after_header.
Hi Fernando. Thanks for the suggestion but that doesn't explain why I can add a block to one page (the home page) that WILL display full width and yet the same block will not display full width on another page.
This page is set to full width: https://guestwiki.com/
The other one isn't.
This is causing the disparity.
You can opt to set that page to full width too so they're the same.
See here for more information: https://docs.generatepress.com/article/content-container/
OMG I can't believe I missed that!
Thank you for getting back to me.
You're welcome, Martin!