Skip to main content
Documentation/Elements Reference/Dynamic/Template Content Area
Elements Reference

Template Content Area

Marks the spot in a template where the content of the post being displayed renders. It
only appears while you're editing a template.

Template Content Area in the
Templating section is the article for this element — what it does, how templates nest
through it, and the one-per-template rule.

Settings

The element has no Content controls. Its properties panel opens on the Design tab:

The Template Content Area properties panel
The Template Content Area properties panel
  • Container — a Width for the area.
  • Spacing — vertical margin around it.

Don't set its tag to main. Oxygen already wraps the page in its own
<main id="oxy-main">, so a main here nests one landmark inside another, which
assistive technology treats as invalid. Use div or section.