Set a full-width header with boxed content
You can use CSS to set the header to be full width with boxed content at Customize > General > Layout. See the Related Articles for details.
In the example shown in this screenshot, the full-width header layout in black is Nav Right, which displays the logo on the left and menu on the right. The content below it is a boxed layout.
The CSS code shown below includes both a min-width and a width value. In most cases, you probably want the two values to be equal. For example, if you set both values to 900px, then as the browser window is sized below 900px in width, the content appears to be full-width. In other words, the content width matches the header width at 900 px and under.
If the min-width value is larger than the width value, the behavior is more complicated. For example, suppose you set min-width to 900 px and width to 600 px. As long as your browser window is wider than 900 px, the content displays at 600 px. As the browser sizes down below 900 px, the content widens to 900px and the entire layout appears to be full-width. In other words, at 900 px width and smaller, the header and content are the same width.
To set the header at full width and the content at a boxed width:
- Go to Customize > General > Layout, then set the Layout to be Full width. Click Save & Publish.
- Add the following CSS code, adjusting the min-width and width values.
See the article on where to add CSS code.