I want to move a block on my page. its now located in the header and i want to move it to the panel header.

In the xml file of the extension, i see this:

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <css src="Interactivated_Customerreview::css/kiyohrating.css"/>
        <referenceContainer name="header-wrapper">
            <block class="Interactivated\Customerreview\Block\Customerreview" name="top.kiyohmicrodata" as="top.kiyohmicrodata" template="Interactivated_Customerreview::microdata.phtml" />

What do i need to change to move this?

1 Answer 1


Magento 2 comes with a move xml element

<move element="block.or.container.name" destination="destination.container" />

In your case it will singly be what ever is in your Magento_theme folder under layout

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.