Archived topic
Element Type: Page Hero > Blog Post not aligned with Page Hero container
5 replies · Started by Fabiano on May 1, 2022
Hi,
I created a Page Hero for my blog posts, but the post is not aligned with the container of the page hero.
I set up the Container with "Contained width" set at 800.
I don't think this should matter, but the Content Container of the blog post is set as "Default".
Could you kindly help?
Thanks
Hi Fabiano,
You currently have the right sidebar displayed on your Posts which is the reason for the blank space at the right.
To remove this, you may go to Appearance > Customize > Layout > Sidebars and set the Blog Sidebar Layout to “no sidebars”.
You may also opt to do this through a Layout Element: https://docs.generatepress.com/article/layout-element-overview/
Hope this helps! :)
Thanks for the prompt response, Fernando!
The post is now centered, but it's not contained within the Page Hero template...
There must be something else that I've got to change
Hi there,
add a Layout Element to set the width of the post content:
https://docs.generatepress.com/article/layout-element-overview/
Perfect, thank you!
Glad we could be of help!