[Resolved] Homepage is more wide then Blog Archive and Posts

Home Forums Support [Resolved] Homepage is more wide then Blog Archive and Posts

Home Forums Support Homepage is more wide then Blog Archive and Posts

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #670583
    Sonja

    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.

    #670764
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Try this CSS:

    .generate-sections-inside-container {
        box-sizing: border-box;
    }

    Let me know 🙂

    #671255
    Sonja

    It worked, thanks. But what was the reason for this? I would like to understand this, to learn more about GP.

    #671262
    Tom
    Lead Developer
    Lead Developer

    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.

    #671435
    Sonja

    Okay, thanks. I don´t need Sections on this Page. So I will put the Posts on a regular page without sections.

    #671582
    Tom
    Lead Developer
    Lead Developer

    Sounds good!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.