Site logo

Archived topic

Match Section and regular page formatting

3 replies · Started by Steig on October 20, 2016

Viewing posts 1–4 of 4

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

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;
}

Thank you!

You're welcome :)

This archived topic is closed to new replies.