Apply section styling
Apply a supported style to the section around your content or Commerce blocks. Section metadata changes the section’s presentation; it does not change an individual block’s settings.
Before you begin
Section titled “Before you begin”Open the page in Document Authoring and choose a style supported by your storefront. See Section metadata for the table format and supported property types.
Add section metadata
Section titled “Add section metadata”- Find the section containing the blocks you want to style.
- Insert a two-column table below those blocks, within the same section. If a section-metadata table already exists, update it instead.
- Merge the cells in the first row and enter
section-metadata. - Add a row with
Stylein the first cell and the supported style name in the second cell. For example, usehighlightonly if your storefront supports that style. - Save your changes and preview the page. Confirm that the intended section has changed, not an adjacent section.
- Publish the page when the result looks right.
Check the result
Section titled “Check the result”Open the published page and confirm that the style applies to the intended section. If nothing changes, check the style name with your developer and confirm that the metadata table is in the same section as the content.