Archived topic
Homepage is more wide then Blog Archive and Posts
5 replies · Started by Marius on September 6, 2018
Hi,
why is the Homepage, where I Use WP Show Posts, more wide then the Blog Archive Pages and the Posts? I would like that the Homepage looks exactly like the Blog Archives.
Hi there,
Try this CSS:
.generate-sections-inside-container {
box-sizing: border-box;
}
Let me know :)
It worked, thanks. But what was the reason for this? I would like to understand this, to learn more about GP.
Sections has the container width applied to the same element as the padding, which causes the width to increase. The above CSS makes it so the padding is included in the width.
Okay, thanks. I don´t need Sections on this Page. So I will put the Posts on a regular page without sections.
Sounds good!