Section

A section break with customizable styling

Use this component to create a section break – i.e. end the previous section of content and start a new one – and style the next section. If you want to style the first section on a page, just put this component before any other content.

Previous section of content

{%
  include section.html
  background="images/some-bg-image.jpg"
  dark=true
  size=full
%}

Next section of content

Tip: Put a section break before every # Heading 1 and ## Heading 2 to visually break up your content and make it more readable.

Sections also have a solid color that overlays any background image to always maintain readability of text.

section.scss style has an editable variable for the width limit. When on large desktop screens, most websites limit the width of text content in the center of the screen to make it easier to read.

Last updated