Content Sections

Content sections are similar to heroes - content placed over a background color or photo - except the content and layout of the information is more complex.

These elements can be placed within the content area, or outside of them to add an edge-to-edge design.

This is a Content Section

This is some placeholder content the Contact tab's associated content. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling.

This is a Content Section

This is some placeholder content the Contact tab's associated content. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling.


Fixed Background

By using the .background-fixed class on your content section element, you can have the background image remain in a fixed position even while the page is being scrolled.

Using this class changes how the image is attached to the background and it might appear to be a different size than a background image that is not fixed.

This example also includes some additional CSS to position the content within the section depending on the size of the viewport.

This is a Content Section

This is some placeholder content the Contact tab's associated content. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling.


Overlay

A content section can also have an overlay over the entire photo to help with readability.

This is a Content Section

This is some placeholder content the Contact tab's associated content. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling.

This is a Content Section

This is some placeholder content the Contact tab's associated content. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling.