QuestionQ7

Adobe Experience Manager Sites

An Adobe Commerce developer has been asked to move a block named country from the sidebar container to the content container. The block must be the last child of the content container.

Which layout instruction should be used to move the block?

  • A <move element="country" destination="content" after="-"/>
  • B <move element="country-element" destination="content-element"/>
  • C <move element="country" destination="content" after="last-child"/>
Explanation

In Adobe Commerce layout XML, <move> relocates an existing element to a destination parent. Setting element="country" and destination="content" identifies the required block and target container, while after="-" positions the element after all of its siblings, making it the last child.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!