Targeting Sections & Blocks (see video above for walk-through)

Use the data-target attribute within a button element to target specific blocks or sections on the page. Separate multiple targets with a comma. We recommend targeting sections via your custom anchor link name in the section settings.

For example:

<div data-wm-plugin="accordions">
  <button data-target="#block-id-123">Accordion One</button>
  <button data-target="#anchor-link-id, #anchor-link-id-2">Accordion Two</button>
</div>
Previous
Previous

Stacking Page Sections