[Resolved] Match Section and regular page formatting

Home Forums Support [Resolved] Match Section and regular page formatting

Home Forums Support Match Section and regular page formatting

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #237323
    Steig

    Tom,

    I’m comparing building a page without sections to one with sections. I can’t seem to match the spacing between the top navigation bar and the body of the page.

    A “regular” page has a grey strip between the two. The page created with sections doesn’t. Even when the box type in layout is set to contained.

    How can I make the two match perfectly?

    Regular: https://arlinstitute.org/state-watch-list

    Section: https://arlinstitute.org/state-action-alerts-2

    #237417
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Interesting point, the margin is removed intentionally, but mainly geared towards full width sections.

    If sections are contained, maybe the space should remain.

    I’ll do some thinking on that.

    For now, this CSS should help you:

    .sections-no-sidebars.generate-sections-enabled.separate-containers #main.site-main {
        margin-top: 20px;
    }
    #237754
    Steig

    Thank you!

    #237823
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

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